Medications & Treatments

How Custom Medications Are Prepared

Most prescriptions are filled by pulling a manufactured product off a shelf. But some people need something that doesn’t exist in a standard bottle, tube, or vial. That’s where custom medications come in. Also called compounded medications, these are preparations made by a pharmacist to fit one patient’s specific needs — a different strength, a different form, or a version free of an ingredient the person can’t tolerate.

In this article, you’ll learn what custom medications are, why they’re prescribed, who prepares them, and exactly how they’re made step by step. You’ll also find out what quality and safety standards apply, what the limitations are, and what questions are worth asking your prescriber or pharmacist.

What Is a Custom Medication?

A custom medication is a drug product prepared by a licensed pharmacist, or under their supervision, to meet the needs of an individual patient. It may involve:

  • Combining ingredients that aren’t available together in a manufactured product
  • Changing the strength of a medication
  • Changing the dosage form — for example, turning a tablet into a liquid, cream, or suppository
  • Removing an ingredient such as a dye, preservative, or filler that causes a reaction
  • Adding flavoring to make a medicine easier to take

Custom medications are not the same as generic drugs. A generic is a manufactured copy of a brand-name product that has met regulatory standards for approval. A compounded preparation is made for a single patient and is not individually reviewed for safety, effectiveness, or quality by a national drug regulator before it reaches that person.

Why Custom Medications Are Needed

There are several common reasons a prescriber might order a compounded preparation rather than a standard product.

Allergies and Sensitivities

Some people react to inactive ingredients like certain dyes, preservatives, or binders. A compounding pharmacist can prepare the same active drug without the problematic ingredient.

Dosing That Isn’t Commercially Available

Children, older adults, and people with kidney or liver conditions sometimes need doses far smaller or larger than what’s manufactured. Compounding allows precise strengths that a standard product can’t provide.

Difficulty Swallowing

Pills aren’t an option for everyone. A pharmacist can convert the medication into a liquid, a rapidly dissolving form, a topical gel, or another format that’s easier to take.

Shortages and Discontinued Products

When a manufacturer stops making a drug or a supply shortage drags on, compounding can sometimes bridge the gap. This is generally a temporary measure rather than a long-term substitute for an approved product.

Specialized Delivery Needs

Some treatments work best when delivered directly to a specific area — for example, through a topical preparation, a vaginal or rectal suppository, or a medicated rinse. Compounding makes these options possible.

Who Prepares Custom Medications

Custom medications are prepared in a compounding pharmacy. These pharmacies may be independent, part of a health system, or a dedicated sterile compounding facility. The pharmacist in charge holds a professional license and typically has additional training in formulation and preparation techniques.

Compounding falls into two broad categories:

  • Nonsterile compounding — creams, ointments, oral liquids, capsules, suppositories, and similar products.
  • Sterile compounding — preparations that must be free of microorganisms, such as injections, eye drops, and intravenous solutions.

Sterile compounding requires far stricter controls, including specialized air-handling equipment, protective clothing, and verified sterilization procedures.

How Custom Medications Are Made, Step by Step

While the exact process varies by dosage form, most custom preparations follow a similar sequence.

  1. The prescription is received and reviewed. The pharmacist confirms the drug, strength, dosage form, and directions with the prescriber. Any allergies, other medications, or health conditions that could affect the preparation are noted.
  2. The formulation is designed. The pharmacist selects the base ingredients, solvents, suspending agents, or flavored syrups needed to hold the active drug in a stable, usable form. This is where the pharmacist’s training matters most — a formulation has to be both effective and physically stable.
  3. Ingredients are sourced and verified. Active pharmaceutical ingredients are purchased from suppliers that provide documentation of identity, purity, and potency. Each batch is logged with a lot number so it can be traced later.
  4. Calculations are performed. The pharmacist calculates exactly how much active ingredient is needed to reach the prescribed strength. For diluted or potent drugs, this often involves a series of measurements to avoid dosing errors.
  5. The preparation is compounded. Techniques depend on the final form:
    • Capsules and tablets — the active drug is blended with a filler and packed into capsules or pressed into tablets.
    • Oral liquids and suspensions — the drug is dissolved or evenly dispersed in a liquid base, then shaken or mixed to ensure consistency.
    • Creams, gels, and ointments — the drug is worked into a base using a mortar, spatula, or electronic mixer until it’s uniformly distributed.
    • Suppositories and troches — the drug is combined with a base that’s melted, poured into molds, and allowed to harden.
    • Sterile preparations — the drug is mixed under controlled airflow, filtered or sterilized as needed, and sealed into sterile containers.

  6. Quality checks are performed. The pharmacist confirms that the preparation looks right, weighs the correct amount, mixes evenly, and meets the expected standards for appearance, consistency, and pH where relevant. Sterile products receive additional checks for sterility and freedom from particles.
  7. The medication is packaged and labeled. It’s placed in an appropriate container with a beyond-use date — the period during which the preparation is expected to remain stable. The label includes the ingredients, strength, directions, storage instructions, and any warnings.
  8. The patient is counseled. The pharmacist explains how to measure, apply, or store the medication and what side effects or signs of a problem to watch for.

Quality and Safety Standards

Compounding pharmacies operate under professional standards that address three areas: nonsterile preparations, sterile preparations, and hazardous drugs. These standards cover facility design, equipment maintenance, staff training, ingredient sourcing, and record keeping.

Additional safeguards you may see include:

  • Written master formulas for each preparation, so a product can be repeated consistently
  • Batch records documenting every ingredient, measurement, and check
  • Independent verification of calculations for high-risk preparations
  • Environmental monitoring in sterile compounding areas
  • Cleanroom air quality testing and equipment calibration on a set schedule

Benefits and Limitations

Custom medications can be genuinely helpful when a standard product doesn’t fit a person’s needs. They offer flexibility that mass manufacturing simply can’t provide.

At the same time, it’s worth understanding the limits:

  • Compounded drugs are not individually reviewed for safety and effectiveness the way approved products are.
  • Stability data may be limited, which is why beyond-use dates can be shorter than those of manufactured products.
  • Cost varies widely and insurance coverage is often limited.
  • Some preparations require extra care in handling or storage to stay reliable.

For all of these reasons, custom medications are usually considered when an approved product isn’t a workable option — not as a first-choice substitute.

Questions Worth Asking

If you or someone you care for is prescribed a custom medication, these questions can help you feel more informed:

  • Why is a compounded version needed instead of an approved product?
  • What is the beyond-use date, and how should I store it?
  • How do I measure or apply the correct dose?
  • What side effects or warning signs should I watch for?
  • Are there any interactions with my other medications or supplements?
  • Is there an alternative if this preparation isn’t covered by insurance?

Key Takeaways

Custom medications are made one prescription at a time to solve problems that standard products can’t: an ingredient a person can’t tolerate, a dose that isn’t manufactured, or a form that’s easier to take. The process moves through prescription review, formulation design, verified ingredient sourcing, careful measurement, compounding, quality checks, and patient counseling.

Compounding is a valuable tool in the right circumstances, but it isn’t risk-free and it isn’t a replacement for approved medications when those will do the job. If you’re considering a custom preparation, talk with your prescriber and pharmacist about whether it’s the right fit for your situation. This article is general information and isn’t a substitute for personalized medical advice.

For more plain-language guidance on medications, treatments, and everyday health topics, explore the related articles on our site.