You spent years and a fortune on a pharmacy degree, and now the stores are closing and robots fill the bottles. Here is what is really happening.
This in-depth guide covers everything you need to know about will ai replace pharmacists? robots, closures and your job. Based on verified income data and real-world case studies from our database of 138 side hustle tactics.
Partly, and the part being replaced is the dispensing work that fills most of a retail pharmacist's day. Robots and central fill centres already count and fill a large share of prescriptions, and software now reads prescriber directions that staff once typed by hand. The licensed pharmacist still signs off, and the official forecast still shows slow growth, but the retail jobs most graduates walk into are being squeezed by closures, mail order and automation at the same time.
The degree that was supposed to be a sure thing
Six or seven years of school. Maybe two years of prerequisites, then four years of a PharmD, then the NAPLEX and the law exam. The loan statement has six figures on it, and when you started, everyone said that was fine because pharmacists earn six figures and every town needs a pharmacy. Your parents told their friends. You planned to help them with their mortgage once you were settled.
Then the store where you did your internship closed. The chain sent a letter about "optimising the footprint." The pharmacy that is left in your area fills more prescriptions with fewer people, a robot behind the counter counts the pills, and a warehouse two states away fills almost half the bottles before they arrive. You check prescriptions on a screen all day, and you start to wonder whether the screen is the next thing to go.
What automation already does in pharmacy
The machines arrived before the chatbots. Walgreens runs what it calls micro-fulfillment centres: warehouses where robots fill routine refills and ship them to stores for pickup. In May 2025 the company said its 12 centres serve more than 5,000 stores and fill more than 3.5 million prescriptions a week, about 16 million a month, handling about 40% of prescription volume at the stores they support. Shipped volume rose 24% in a year.
Walgreens' chief pharmacy officer Rick Gates told CNBC the centres are "the backbone to really help us offset some of the workload in our stores." A vice president, Kayla Heffington, said pharmacists at supported stores "are spending less time filling prescriptions." The company presents this as time freed for vaccines and patient care. A finance team reading the same numbers sees 40% of the filling work leaving the store.
Amazon built pharmacy into its delivery network. It describes its sites as "highly automated pharmacy fulfillment sites that feature robotic arms and other automation," overseen by licensed pharmacists and technicians, and said it would open pharmacies in 20 more US cities in 2025 so that 45% of its US customers could get same-day prescription delivery.
The AI layer is newer. In May 2026 CVS Health described a system that uses open-source large language models to interpret prescriber directions, including clinical terms and conditional dosing, and separate logic to calculate days' supply from the frequency, quantity and duration fields. That is the data entry step that technicians and pharmacists used to do by hand on every new script. CVS stresses "human-in-the-loop safeguards ensuring pharmacists retain final clinical authority," and its chief digital and technology officer, Tony Ambrozie, called it "what responsible, patient-centric AI looks like in practice."
Put those together and look at the workflow of a retail pharmacy: data entry, filling, counting, verification, counselling. Software is taking data entry. Robots and central fill are taking filling and counting. What remains is the pharmacist's check and the conversation at the counter. The check is the legal reason the pharmacist is there.
Question to sit with: if the counting, filling and typing are done elsewhere, how many pharmacists does one store need to check what is left?
The closures came first
For most pharmacists the bigger shock of the past two years was the closures, which hit before AI did.
A Health Affairs study published in December 2024 found that 29.4% of the 88,930 retail pharmacies operating during the study period had closed by 2021. Independent pharmacies and stores in Black and Latino neighbourhoods were most at risk.
Then the chains cut deeper.
Walgreens said in October 2024 it would close roughly 1,200 stores over three years, including 500 in fiscal 2025, out of about 8,700 US locations, a quarter of which the company said were unprofitable. In August 2026 reports said it now expects to close fewer than 100 stores in 2026, down from internal projections closer to 700, and calls the cuts a "store optimization strategy."
CVS closed about 900 stores between 2022 and 2024 and planned 270 more in 2025 as part of a restructuring "intended to streamline and simplify the organization." It had about 9,000 retail pharmacy locations as of March 2026, according to the company.
Rite Aid is gone. It filed for bankruptcy in October 2023 and again in May 2025, when about 1,250 stores remained. Most of its pharmacy business was sold to CVS, Walgreens, Albertsons and Kroger, and in October 2025 its last 89 stores closed. The website read: "All Rite Aid stores have now closed. We thank our loyal customers for their many years of support."
When a store's prescriptions are transferred to a competitor down the road, the patients move. Not all the staff do. Each closure concentrates the same volume into fewer pharmacies, and the pharmacies that receive it are the ones with robots and central fill behind them.
What working pharmacists say about the job
The pressure was visible before AI. In autumn 2023 retail pharmacists at CVS and Walgreens staged walkouts over understaffing, with estimates of participation ranging from several hundred to 4,500. Marketplace reported in November 2023 on Bled Tanoe, a pharmacist who left a chain for a hospital. When she asked for relief from prescription quotas, she said, "the answer was 'No. You are still expected to perform like you're supposed to perform.'" She added: "For me, that was my breaking point." Anandi Law of the American Association of Colleges of Pharmacy described the culture as "'Fill more, fill more, get those prescriptions out.'"
That is the context in which automation lands. Chains say robots and AI free pharmacists for patient care, and some pharmacists welcome anything that takes the counting off their hands. The risk is that the time saved becomes more prescriptions per pharmacist, the same way it did when the first counting machines arrived.
Question to sit with: when your employer says automation will give you "more time with patients," have you seen that time appear, or have you seen the volume go up?
Technicians stand closest to the machines
If you are a pharmacy technician, or you were planning to work as one through pharmacy school, the automation story is even more direct. Look at what each new system takes. The CVS language model reads the prescriber's directions and works out days' supply: that is typing and calculation a technician did at the input station. The Walgreens centres count, fill, cap and label routine refills: that is the work a technician did at the counting tray. Amazon's robotic arms do the same in a warehouse that never had a counter.
The numbers have not turned yet. The BLS counts 471,200 pharmacy technicians in 2025 and projects 6% growth to 2035, with about 44,700 openings a year. The Pharmacy Demand Report counted 43,880 technician job postings in the fourth quarter of 2025, up from 41,055 a year earlier. Demand is real, and the median pay is $45,750 a year.
That pay is the problem. A technician job is the kind of role an employer automates first, because the software and robots are priced against it. The openings figure also counts the replacement of people who leave the job. A forecast built on past turnover cannot tell you how many of those vacancies a chain will choose to refill once the fill centre and the language model are running.
There is a second effect on pharmacists. Technician work was the bottom rung that many pharmacists stood on while they studied, and the job that let a busy pharmacist hand off the routine tasks. If the routine tasks go to machines, the pharmacist is left with the check, the phone and the queue of patients, with fewer people around to share them.
Question to sit with: if you work as a technician now, which part of your day would a fill centre or a language model take first, and what would you be doing instead?
Fewer students, more closures
Pharmacy schools are shrinking. AACP's Profile of Pharmacy Students, Fall 2024, published November 2025, counts 42,312 students enrolled in PharmD programs, down 4.7% from the year before. Total enrolment peaked at 63,927 in 2014, so it has fallen by about a third in ten years. Schools received 36,833 applications for the class entering in fall 2024. First-year enrolment was 9,505, a small rise from 9,047 the year before but far below 14,276 in 2014.
There is a darker figure in the same report: attrition for the class of 2024 rose to 19.7%, from 15.3% for the class of 2023. Almost one in five students who started that class did not graduate on time.
Fewer graduates might sound like good news for the ones who make it. It also tells you how prospective students read the market. Young people looking at the debt, the closures and the walkouts are choosing other careers.
What the official forecasts say
The Bureau of Labor Statistics updated its projections for 2025 to 2035 in August 2026. Its pharmacist page is blunt about retail. "Demand for pharmacists is expected to be limited in these settings as the industry consolidates and more people fill their prescriptions online or by mail," it says. Growth is expected in hospitals and clinics, where pharmacists work on medication management inside care teams.
| Figure | Number | Source |
|---|
| Pharmacists employed, 2025 | 325,200 | BLS |
| Pharmacist projected growth, 2025 to 2035 | 5% (17,100 jobs) | BLS |
| Pharmacist openings per year | 12,500 | BLS |
| Pharmacist median pay, May 2025 | $140,910 | BLS |
| Pharmacy technicians employed, 2025 | 471,200 | BLS |
| Technician projected growth, 2025 to 2035 | 6% (30,100 jobs) | BLS |
| Technician median pay, May 2025 | $45,750 | BLS |
| Retail pharmacies closed by 2021 (of 88,930) | 29.4% | Health Affairs via HealthDay |
| Walgreens closures announced October 2024 | about 1,200 over 3 years | CNBC via NBC Chicago |
| CVS closures, 2022 to 2024, and planned 2025 | about 900, then 270 | Chain Drug Review |
| Rite Aid stores left in May 2025, then October 2025 | about 1,250, then 0 | ABC7 |
| Walgreens prescriptions filled by robots each week | 3.5 million+ | PYMNTS |
| PharmD enrolment, fall 2024 vs 2014 peak | 42,312 vs 63,927 | AACP |
| Pharmacist job postings, Q4 2025 vs Q4 2024 | 26,952 vs 16,537 | Pharmacy Demand Report |
Read the pharmacist rows carefully. 12,500 openings a year sounds like a lot, but the BLS says most of them come from replacing people who retire or leave, and only 17,100 new jobs are added across the whole decade. In the same forecast, registered nurse jobs grow 6% and nurse practitioner jobs grow 41%. The technician forecast is slightly better on paper, though technicians do much of the work that central fill and AI data entry are built to absorb.
These forecasts assume gradual change based on past trends. They do not model what happens if remote, camera-based verification spreads and one pharmacist can check the output of several stores from a screen.
The honest counter-evidence
Postings recovered sharply in 2025. The Pharmacy Demand Report for the fourth quarter of 2025, published by the Pharmacy Workforce Center, counted 26,952 pharmacist job postings against 16,537 a year earlier, and retail pharmacist was still the most advertised position at 12,923. Part of that may be chains refilling after the Rite Aid collapse moved its prescriptions to them. Walgreens also slowed its closure plan for 2026. Every AI and automation system described above still needs a licensed pharmacist to sign off, and hospital and clinical roles are growing. The job is changing shape faster than it is disappearing.
For the wider healthcare picture, read will AI replace nurses and will AI replace doctors.
What this means for you this month
If you are in retail, assume the filling and data entry parts of your day will keep shrinking and the volume per pharmacist will keep rising. The work that holds its value is clinical: medication therapy management, immunisations, specialty pharmacy, and hospital and ambulatory care roles, which are where the BLS expects growth. If you are early in your career, a residency or a board certification is the clearest move toward those roles, and it is easier to do before you have a mortgage than after.
If you are a student deciding whether to finish, compare the debt you still have to take on with the retail starting offers in your region, and check the AACP data on where graduates are going. Our guide on how much money you need before you quit your job has a simple way to price a switch.
Pharmacists also have knowledge people will pay for outside the counter. Tutoring pharmacy and nursing students in pharmacology (online tutoring) and writing patient-friendly drug content for health sites (freelance writing) both start with skills you already have. If the job has stopped feeling like the career you trained for, how to escape a dead-end job covers the first steps. For how this fits the wider jobs picture, see the job market in 2026.