Starship Troopers — Future soldiers in an endless Bug War are allowed otherwise-illegal drugs, including time-released cocaine, to keep them awake and alert during prolonged engagements.
THX-1138 had the populace kept under control with sedatives, to prevent them from having sex, or otherwise acting in unapproved ways.
Children of Men. Numerous advertisements are seen for 'Quietus', which is either available on demand or is actually issued together with each citizen's anti-depressant ration. The instructions assure the would-be user that not only is it quick and painless, but no-one has survived taking it.
In Repo! The Genetic Opera the Mega Corp. GeneCo (which is the closest thing to a government the setting represents) produces the highly addictive and euphoric painkiller Zydrate, which it uses in all of its surgical operations. Since the vast majority of the population will require at least one organ transplant, a huge majority are addicted to Zydrate, and the fact that most of the rest become addicted to surgery means that Zydrate is in high demand so that surgeries can be engaged in casually. GeneCo's monopoly on Zydrate and synthetic organs is thus vital to its controlling the populace (preventing anyone from questioning their repossession policies), and attempts to illegally acquire Zydrate from corpses are usually met with lethal force. Zydrate addiction recovery programs are also under GeneCo's control. It is also likely that post-surgery addiction to the (expensive) Zydrate is the reason that so many miss their organ payments.
In Wild In The Streets, the first teenage president forces all the grown-ups into concentration camps and fed LSD.
All of the teenagers in Springwood take hypnocil whether they know it or not in Freddy vs. Jason.
In Pumzi, the Maitu council forces it's citizens to take dream suppressing pills in order to discourage free thought and creativity.
Battlefield Earth — The evil alien Psychlos are being manipulated by the even more evil Catrists through brain surgery and mind control drugs, to prevent them from allowing advanced technology from falling into the hands of less-advanced species.
Brave New World — Soma, a euphoric drug that keeps everyone happy, no matter how awful or boring their life becomes. Plus, all non-sterilized women must take birth control drugs to ensure that all children are born in government-run in-vitro baby farms. Finally, the lower castes are given alcohol while still in-vitro to make them physically and mentally challenged, so they accept their low-level menial tasks as merely their proper lot in life.
The Forever War — Future soldiers in an endless war are allowed otherwise-illegal drugs to keep them awake and alert for long periods of time.
A much better example from the same book is when the main character visits his mother early in the war (Roughly 30 years has passed since he left due to relativistic effects.) His brother, who lives on Luna, tells him not to smoke his mother's pot ration, because Earth pot is drugged.
House of the Scorpion Clones, in order for the general populace to be able to accept their status as nonhuman, must be given drugs at birth to stunt their intelligence. The protagonist Matt is an exception to the rule.
In the Honor Harrington universe, the evil corporation Manpower, Inc. uses a combination of genetic engineering and powerful medication to control a population of "genetic slaves" to do manual labor, serve as Super Soldiers, and act as sex slaves. Also, it's heavily hinted that Haven used drugs in the drinking water and food supply to keep a lid on rebellious proles in their welfare state gone wild. In a slightly more benevolent mode, it's a given that all the militaries which have men and women serving in the same units require them to be on contraceptives while on active duty. This is also apparently the policy regarding prisoners of war, explicitly stated as being the practice on the Havenite prison planet Hell where the food was laced with them.
Though it's speculated that the Peeps might just have not wanted to bother keeping track of (and feeding) children.
The Giver — Aside from the usual birth control pills, people are given painkillers for every little hurt, to keep them from feeling even that most basic of emotions, pain.
It's not just birth control with the painkillers — the mandatory pills also remove "stirrings," or sexual desire. Jonas is put on the pills soon after he has his first Erotic Dream about Fiona, a female friend.
The sequel We shows that recreational drugs are unknown in the Community. Claire sees a man on a boat from another Community smoking a cigarette (or an e-cig) and assumes it is some sort of medical inhaler.
In the Green-Sky Trilogy, the Wissenberry is considered sacred and given out freely among the Kindar population to abate any kind of physical or "mind" pain. Teachers even pass them out in school to keep the children calm and compliant. (Snyder was a teacher, and the school system drugging unruly students is Older Than They Think). Raamo's eight-year-old sister is "wasting" to death due to her addiction to the Berries. Widespread addiction in the population is also cited as one of the symptoms of the society itself being ill. To a lesser extent, birth control wafers are passed out among Kindar from the ages of 13-25 so that the youth can obstensibly concentrate on their apprenticeships. Ol-Zhaan, however, are forbidden families of their own.
This Perfect Day — Mandatory treatments keep everyone peaceful, helpful, and kind...and suppress the sex drive and other emotions, as well as preventing unapproved pregnancies.
The Disciples Of The Black God in The Illuminatus!! Trilogy traffic heroin to keep the ghettos from becoming riot hotspots. What motive they, as a black militant, Afro-centric, anti-goverment group, have in this, isn't exactly explained.
Also inverted: at one point it's explained that the Illuminati has an experimental program going on to keep main population dull and bored - the manager in charge of the project F.D. Roosevelt! explains how they remain immune because they're allowed access to Weishaupt's wonder herb, namely cannabis.
The Awakening Water, in which the water supply is spiked with an unspecified drug to keep people (or at least workers) docile and stupid.
"Welcome to the Monkey House" a short story by Kurt Vonnegut had everyone taking something that numbed the groin area and prevented having sex for pleasure in order to keep the population down. The title came from the fact it was invented by a zoo veterinarian who was also a devout Christian upset by the monkeys having sex unabashedly in full view of everyone, so it was first used to cut that nonsense out.
In Piers Anthony's Bio of a Space Tyrant: Executive, the eponymous Space Tyrant puts birth control in the drinking water, and demands any country that receives foreign aid do the same. He also allows euthanasia pills to the suicidal.
The science fiction story "Toe to Tip, Tip to Toe, Pip-Pop as You Go" by William F Nolan. The government keeps everyone in perpetual drugged states and the "deviants" are straight.
Jonathan Lethem's Gun, with Occasional Music, a futuristic Film Noir-style story, tells us about a world where the population takes a variety of state-supplied drugs like Forgetol, Acceptol and Regretol (collectively called "Make") to get them through the day.
Originally, there were many different varieties of drugs that produced pleasurable effects; which individuals could blend as they wanted. Their use was optional, not mandatory. After six years in cryogenic sleep, the protagonist wakes up to a world in which the government mandated the use of a single drug, which dulled the mind and disrupted memory.
Homeworld by Harry Harrison. The upper-class protagonist is initially surprised at the idea that the proles might be rebellious, as the government lets them have all the drugs and booze they want.
Larry Niven's Known Space in the early period, where birth control was mandatory, anti-paranoid drugs were mandatory for those diagnosed with it, and by the time of the 1st Man-Kzin War thinking of a violent act was a psychological disorder (treated by drugs). In later works (Beowulf Schaefer/Louis Wu era), the cops were taking drugs to CAUSE paranoia!
The Reveal of The Futurological Congress is that a conspiracy of scientists is pumping colossal amounts of hallucinogens into the atmosphere so that humanity doesn't realize how utterly, utterly awful reality is... Then another Reveal is that even that was a hallucination.
In the short story "The Cull" by Robert Reed, humanity has been driven into overcrowded, deteriorating habitats where the population has to be kept artificially happy via implants so they won't notice how bad their conditions are. The implants don't work on some people, so the android doctor expels (culls) anyone who is too disruptive. One delinquent teenager prepares for his cull by stealing items he can use to survive outside. Instead once they're outside the android kills the teenager — it needs the implants inside his head as there's no more being manufactured.
In Matched by Ally Condie, every person carries around a case with 3 pills in it. The green pill is like a mild antidepressant, and the red pill wipes your memory of the past two days.
There are also drugs pumped into the water supply at scheduled intervals to make the people on Godspeed feel the intense desire to have sex. These intervals are called "Seasons", and used as a method of keeping the population in neat generations.
Short story "Who's Gonna Rock Us Home" by Nancy Springer has mandatory drug Cope, which induces memory loss to prevent the mind-numbing drudgery of daily life from depressing people.
In Poul Anderson's After Doomsday, one captain does a down-played, and reasonable, version of this: when her ship returns to the Solar System to find the Earth destroyed, she orders that everyone on board take a tranquilizer.
In Poul Anderson's "A World Called Maanerek", the Hegemony uses this freely on "units".
In John C. Wright's Count to the Eschaton, the Nymphs used vast amounts of drugs to erase unpleasant memories and otherwise ensure that life ran smoothly in a culture of Extreme Omnisexuals and hedonists. While it was enforced by the Nymph Queens — those who resisted were sent into cryogenic sleep to await an age more palatable to them, or if necessary, killed — it was also accepted by the Nymphs. Soldiers would drink it to prevent the memory of battles disturbing their peace.
A fantastic variant with the Soothing stations of Mistborn: The Original Trilogy. These are secret government bases scattered throughout the slums, each containing two or three Ministry Mistings whose only duty is to emit a 24/7 magical field that dampens the emotions of everyone nearby. These are a major element of the system that keeps the skaa from ever revolting.
Live Action TV
Buffy the Vampire Slayer — The Initiative, an undercover demon hunting operation bent on creating Mix-and-Match Critters of demon/human/cybernetic parts, secretly feeds its very human agents with performance enhancing drugs. Expect usual withdrawal symptoms.
Babylon 5 — The government and Psi Corps required that any telepath who refused to join the Corps and accept Corps discipline must take drugs to suppress their telepathic abilities. Unsurprisingly, this is worse than it sounds. The drugs also make you suicidally depressed, which is what happened to Ivanova's mother.
Blake's 7 — The cult on Cygnus Alpha used a fake medicine against a supposed horrific plague (actually a minor environmental poison that cleared itself within days) in place of communion wafers, to keep the cultists in line.
In the pilot, the Federation's food and water supplies are laced with "emotional suppressants." The rebel approaching Blake insists he eat or drink nothing for three days to get them out of his system.
Sliders "Just Say Yes" — On one of the Planet of Hats alternate worlds they visit, the U.S. government mandates drug use, and the alternate Quinn Mallory is a leader of the anti-drug resistance.
The reason for this was Sigmund Freud accidentally discovering the pharmaceutical properties of lithium, which he so enjoyed that he became a biochemist instead of a psychologist.
The people who sold things to make you clean being an underground market was quite hilarious.
Speaking of which, the above mentioned counterpart of Quinn's, the one leading the anti-drug resistance? A video shows that he's a hippie. And that his message is to "Get low."
All people (in US, at least) have implants in their arms that allow for direct intravenous injections without risk of infection. Using syringes is seen as barbaric. The police make sure everyone stays tranquil and happy. If someone acts out, they shoot them... with a narcotic dart.
Star Trek — Done several times over the series and movies, both in the Federation and on various Planet of Hats worlds.
Star Trek: The Next Generation Episode "Symbiosis", where Planet A helps Planet B overcome a plague by selling them medicine...medicine which is also a highly addictive drug. When the plague is long gone, Planet A doesn't tell Planet B, so they will keep buying and using the drug, even though it's bankrupting their society.
Also, in the TNG pilot episode, Q mentions that, during the late-21st century wars of WW3 and its aftermath, human supersoldiers were constantly hopped up on narcotics to give them endurance, strength, and artificial courage bordering on insanity.
In Deep Space Nine, the Jem'Hadar are kept under control by the Founders with their genetic addiction to Ketracel White, sort of a combination narcotic and nutrient supplement.
The movie Star Trek: Insurrection features the alien Son'a, who want to take over a peaceful planet in order to use its naturally-occurring radiation as a mandatory life-extending drug for their own population.
Manufacture of ketracel white was also stated to be one of the Son'a's main industries, with the implication, confirmed in an episode of Deep Space Nine, that the Dominion were their main clients.
The Jaffa are kept dependent on the Goa'uld, because they need a larval symbiote to survive past adolescence. Having a symbiote doesn't exactly keep them docile, but it does cause serious logistics problems for rebel Jaffa.
The government of Pangar doesn't force its citizens to take tretonin, but once someone's taken this cure-all wonder drug, they have to keep taking it every day. And the government is far from happy about being told to stop making and distributing it.
The Aschen Confederacy sneaks birth control (at a minimum) into the vaccines it provides to newly-joined worlds.
Uprising by Muse
Year Zero by Nine Inch Nails includes lyrics about The Government forcing everyone to take drugs to keep the populace quiet and happy. The very first site released as part of the Year Zero Alternate Reality Game, I Am Trying To Believe, goes into detail about the drug Parecin, claimed to be put into the water supply to combat bioterrorism after an attack on the US, but actually intended to keep the populace complacent. This is at the expense of lower birth rates due to impotence, making laxatives the number one over the counter drug in the country, constant involuntary muscle twitching, and causing complacent deep enough to negatively impact Super Bowl sales. If you email the site owner about it, you'll find that he's been convinced by the government to drink the water again.
Many political rappers like to repeat the conspiracy theory about CIA and the drug lords (see Real Life section).
Dead Kennedy's "Kinky Sex Makes The World Go Round":
Now don't worry about demonstrations-just pump up your drug supply. So many people have hooked themselves on heroin and amphetamines since we took over, it's just like Vietnam. We had everybody so busy with LSD they never got too strong.
BL/ind Thought Adjustment Test: "I'm so happy to be alive. Everything is going to be fine. Have I taken my medication today?"
The audio skit "Le Trente-Huit Cunegonde" by The Firesign Theatre features an inverted version of 1960's society where the hippies are in charge and instead of being illegal, smoking pot is mandatory.
Despite the WWE's "Wellness Policy", many people believe that Vince McMahon "encourages" his wrestlers to take steroids (and by "encourage" we mean "threaten with being wished well in their future endeavors"). Not helping: The fact that Vince himself has admitted to taking steroids. ...and the whole Chris Benoit thing guy-who-went-crazy-that was-in-no-way-linked-to-any-drug-abuse thing.
In Paranoia, the Computer laces the food supply with hormone suppressants to keep the citizens from breeding (it prefers to clone them). In the supplement Acute Paranoia, the Computer requires all citizens to take a bewildering variety of drugs on a regular basis, which helps explain how messed up Alpha Complex is.
One of the incentives to climb the status and security clearance ladder is that higher clearance levels has far less forced drugs. Just coming out of that Infra-red haze upon gaining Red clearance is a major wakeup. The food's better, too.
Curiously, the second edition rulebook (and maybe some others) indicates that Friend Computer often provides more drugs as a bonus to particularly successful Troubleshooters (although in the context of Paranoia, a "successful Troubleshooter" is the one whose Chronic Backstabbing Disorder is most pronounced). Meaning that when the PURGEr comes to assassinate you for PURGE, our heroic Troubleshooter's reaction goes "You're pointing a gun at me. Cool."
Paranoia XP explicitly makes drugs a reward. Paranoia XP explicitly makes drugs a punishment. This is why Paranoia is so much fun!
It's less forced drugs (and more real food), but you can take more drugs voluntarily.
Many, many Cyberpunk Role-playing settings have governments or corporations using this trope to try and keep the little people in line.
A fantasy-world version appears in the early Dungeons & Dragons adventure "B4: The Lost City", in which the corrupt priests of Zargon have gotten most of the population of Cynidecia addicted to an unspecified cocktail of drugs. Presumably this makes it easier to control the masses, and/or to convince them to worship a deity as grotesque as Zargon.
In Aberrant, all newly erupted novas (people with superpowers) are secretly fed sterility drugs along with the drugs given to help them control their powers in order to prevent the breeding of a superpowered race.
Dragon Age: Origins contains an unusual example of church Drug Enforcement. The Chantry deliberately makes Templar recruits addicted to lyrium - partly as a Super Serum, but your Templar party member Alistair suspects it's a means of controlling them (since they need to get their supply from the Chantry).
This backfires on the Chantry in Dragon Age: Inquisition, when part of the Templar order goes rogue and takes Red Lyrium out of desperation, making them insane and giving them super-powers.
In the "Paradise" storyline of Sluggy Freelance, Riff is sent to 4U City in an Alternate Universe, where everyone is constantly drugged to keep them happy and docile, and hovering robots follow people around and inject them with syringes if they show any signs of unhappiness.
This of course turns out to be a last resort method originally employed by that universe' Riff, to keep the city blissfully unaware that they are the only remaining humans on earth, and the entire universe is falling apart due to the damage a recent war has done to the fabric of reality. Crapsack World indeed.
On The Venture Bros. the compound Dr. Venture Senior built was intended to have some calming drugs filtered into the air, so people didn't freak out about the thermonuclear war going on outside. However, the Master Computer disagreed with this plan and decided on the "giving them too much of a good thing" method of punishment, and flooded the compound with a massive quantity of drugs that caused terrifying hallucinations.
In one Futurama episode featuring Blurnsball (a HIGHLY modified game of baseball), Prof. Farnsworth revealed that for the past few centuries professional athletes have been required to take steroids.
If vitamins and vaccines could be considered drugs, then most developed nations in the modern world had at least made some effort to subsidize, if not quite force at gunpoint, their citizens to take anything from Vitamin Enriched food (Vitamin B fortified bread for example) to counter some nutritional deficit or have some government program to ensure their citizens, children in particular, are vaccinated against polio, chicken pox, etc.
The dangerously, clinically, non-functionally insane (true or not), where government run mental health care is available, tend to be given drug regimes in the hopes of managing their illness. Since they ARE Insane, their consent (or awareness) about this is moot.
Which is why giving consent is usually handled by a family member or next of kin. This is also true of people who have been incapacitated by injury or disease and are unable to communicate.
And you really have to be unable to communicate or be a clear danger to yourself or others in order to be forced to take medication. In terms of danger, that means you have open exhibited violent behavior or stated your intention to cause harm, stated your intention to commit suicide, or attempted to kill yourself. Most people with some mental condition or other are in no danger of being forced into treatment. And that is not a threat to the general welfare since the vast majority of the mentally ill are not violent. (The overwhelming majority of people on psychiatric medication are willing to receive treatment if it helps them with their distressing condition.)
Generally people who are currently mentally unfit to stand trial may be forcibly medicated until they are sane enough to do so. Same thing for executions.
The military examples above are Truth in Television up to a point; aircrew are permitted to take dextroamphetamine in order to maintain their alertness if it's necessary to exceed peacetime limitations on how long they can remain at the controls without rest, as well as tranquillizers to help them come down from the high once their mission is complete. This is strictly voluntary except in the very gravest emergency scenarios, however, and many pilots choose to take their chances with the dangers of fatigue.
But then again, really dire situations didn't actually really happen. Explicitly or not, the idea was these things were for the crews of nuclear bombers, and the interceptor fleets designed to shoot down said bombers. This was at a time before ICBM's and SAM's were a thing, and so if the filthy commies/western imperialists were coming it was the men in the air that were going to stop them (or at least retaliate) and the other side certainly wouldn't care how long your shift had been. If you had to go forth and save (or possibly end) the world then by god the powers that be would make sure you had what you needed to power on through.
Mention "Needle Parade" to a member of the militarynote Something you learn quick in the military is anything with "parade" in it's name is bad news" and watch them cringe. It doesn't matter if you don't want those vaccinations; roll up your sleeve and grit your teeth. Even flu shots are mandatory at times, since you'll become a liability to the military if you're home sick or infecting other people in your unit.
Fluoridation of public water sources, intended to prevent dental cavities in the population. Some people get really twitchy about this one— in particular, the John Birch Society was famously upset by it.
Old laws actually make illegal for a person to NOT take drugs if suffering from things like TB or syphilis (and in modern age, AIDS). Threat of high death toll from epidemics usually trumped other concerns.
Despite the ban on steroids and other performance enhancing drugs during the Olympics and such, there are occasional (true or false) accusations of drug use. That top level athletes under government sponsorship (and scrutiny) can get drugs lead some to suspect it was the government themselves (or a suitably plausible deniable agent) who give the athletes drugs.
Back in the good old days of the Soviet Union there were some... well... manish... female athletes, strongly believed to have been taking male hormones to increase their potential. How voluntary this was is a point of dispute, and given how communism tends to be with secrets, we'll probably never know for sure. (What is known is that former Soviet athletes have a much higher incidence of serious health problems in middle age than their Western contemporaries.)
The CIA thing mentioned up in the music section is best split into a few parts:
The CIA definitely did work with a lot of shady people back in the 'We don't care what you do as long as you aren't Communist' days, including some in South America who were into cocaine trafficking, most famously the CONTRAs and the Noriega regime but quite a few other groups too. To exactly what extent they were directly complicit in that side of the business is unlikely ever to be clear. On the one hand we know that the CIA didn't have a major problem with just paradropping guns and cash to people they were supporting, but on the flip side it's hard to imagine that they were providing intelligence on their new friends to customs or the FBI.
The other half of that story that probably isn't true is that the CIA were both directly involved in importing cocaine to the US, and then beyond that they were behind introducing crack to US cities. Some versions say that they were doing so to generate funds to secretly fund the fight against communism, essentially co-opting the South American drug pipeline and redirecting the profits to things they couldn't do on the books. It's a reasonable(ish) theory but given that the CIA were already assassinating people and god knows what else; the mind boggles at what they couldn't get funding to do. Other versions of the story say that introducing crack was an assault on the urban poor and the black population in particular, but no-one seems to agree on exactly why the CIA would be interested in doing that, although furious racism tends to be a part of it. Social engineering, mind control and just keeping the black man down have all been suggested. Perhaps the most logical theory goes that, rightly or not, the CIA saw the Black Panthers and similar political groups in the black community as being, or at least having the potential to become, a homegrown version of the left-wing militants they went to South America to fight in the first place. It wouldn't be the first time anybody's attempted genocide for fear of their country turning into a war zone. This springs from senate findings in the late 80's that the CIA had knowingly worked with drug traffickers, which was juxtaposed with the arrival of crack on US streets. The link between the two may well exist (it's been seriously suggested that a sudden influx of CONTRA cocaine was what fueled the crack epidemic as a result of the CIA giving them a hand) but there is no evidence that the CIA actually had a hand in it.
From 1953-1973 the CIA was engaged in a program known as "MK ULTRA" in which experimental psychoactive agents were secretly tested on unsuspecting citiens
The two Opium Wars (1839-1842, 1856-1860) that the Europeans (led by Britain) and Americans fought with Qing China can be considered as manifestations of this. In the 18th and 19th Century, European and American appetite for Chinese goods grew insatiable, especially for tea, silk, and porcelain, but the Chinese bought almost nothing in return, only taking silver for payment. The constant drain of Western silver into China was seriously affecting European finances, so in the 1770s, the British finally hit upon opium (which grows abundantly in their newly captured territories in Bengal) as a good that can be sold to the Chinese to offset the trade inbalance. The introduction of opium (which made its way into China via a mindbogglingly complex network of middlemen and smugglers as the Imperial government banned recreational opium as soon as they heard about it—they banned tobacco too, but that was a different story) led to a pandemic of addiction in China that threatened to bankrupt the country. When the Qing government tried to crack down opium (most notably when Lin Zexu, the Governor of Canton, confiscated and burned about 1.2 thousand tons of opium on the beaches of Humen in 1839), the British, French, Russians and Americans curb-stomped it in two hilariously lop-sided wars to keep the opium trade open, gaining the concession of Hong Kong and Shanghai as ports for off-loading of opium and forcing the Qing from to adopt a European-style laissez-faire attitude to all drug use (most European countries not banning domestic recreational drug use until the early-to-mid 20th century). China did not completely sober up until the 1950s, five wars and two regime changes later - though the trade had dried up as early as the 1890s as cheap domestic production (chiefly in Sichuan province) made it unprofitable.
Amusingly, during the Second Sino-Japanese War three Guomindang-aligned warlord-run regional governments ran official provincial Drug Monopolies and the other five tried to crack down on the trade (or was it the other way around?). This was because the Guomindang had teetered on the edge of total bankruptcy for about two years (1940-42) as the Soviets withdrew their economic and military aid, forcing them to basically give up all the taxation and administration and conscription duties to the provincial warlords in order to cut their spending (this resulting in dramatically increased taxation and corruption). This desperate measure allowed them to survive for a time, but would have resulted in total collapse by the end of 1943 if it weren't for barely-adequate American loans which kept the central government afloat until the war's end.