How the University of the Basque Country 3D prints personalized pills
A research group in Spain extrudes starch-based filament into tablets, so dose and release profile can be set per patient instead of per production batch. This page explains the mechanism, the material limits, and the point where the process stops being a pharmacy tool and becomes a manufacturing problem.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
Key takeaways
Why 3D prints personalized pills need a controlled filament first
A printed tablet is only as uniform as the filament that feeds it. The Basque Country work starts with starch-based material that is compounded with the active ingredient, then extruded into a filament of consistent diameter. If that diameter drifts, the deposited volume drifts with it, and the dose written into the file no longer matches the dose in the tablet.
This is the same logic we use on metal parts: control the stock, control the result. In CNC machining a bar of 6061-T6 has a known hardness and a known size, so a program cut for it repeats. In pharmaceutical printing the filament is the stock. Target diameter is usually held within roughly ±0.05 mm, and any segment outside that window is cut out before the spool reaches the printer.
Starch earns its place because it is cheap, it is already used as a pharmaceutical excipient, and it can be blended with a range of polymers to tune how the tablet behaves in water. It is also thermoplastic enough to be extruded at temperatures that many small-molecule drugs tolerate. Those three properties together are what make the process practical rather than theoretical.
The consequence is a narrow material window. A drug that degrades above the extrusion temperature cannot be printed this way, and a drug that needs an amorphous dispersion may need a different carrier altogether. The printer does not fix a bad formulation.
From powder blend to printed tablet: the four physical steps
Step one is blending. The active pharmaceutical ingredient is mixed with starch and any plasticizer or release modifier until the powder is uniform. Poor blending shows up later as tablets that vary in potency from one to the next, and no amount of printer tuning recovers from it.
Step two is hot-melt extrusion into filament. The blend is heated and pushed through a die, then cooled and spooled. This is where the drug is dispersed in the polymer matrix, and where the thermal history of the batch is set. Cooling rate matters: fast cooling tends to lock in a more amorphous structure, slow cooling can let the drug recrystallize.
Step three is printing, usually fused deposition modeling. The nozzle lays down the filament layer by layer, and the infill percentage becomes a direct control on drug load per tablet. A 60 percent infill tablet carries less drug than a 90 percent infill tablet of the same outer dimensions, even though both look identical from the outside.
Step four is inspection and, if needed, coating. Weight, dimensions and dissolution profile are checked, and a film coat can be added to mask taste or delay release. Each step is individually simple. The difficulty lives in keeping them consistent, because a 3 percent drift in filament diameter or a 5 °C shift in nozzle temperature changes the dose.
The engineering limits behind 3D prints personalized pills
Resolution is the first limit. A typical pharmaceutical FDM nozzle runs 0.2 mm to 0.4 mm. That sets the smallest feature you can print and the surface roughness of the tablet. It is coarse compared with the ±0.005 mm we hold on machined metal, but for a tablet the relevant tolerance is weight and dissolution, not surface finish.
Throughput is the second. Printing one tablet takes minutes, not milliseconds. That is acceptable when a hospital pharmacy prepares a small run for named patients, and unacceptable when a line needs to output millions of units per shift. The technology is a compounding tool, not a replacement for a rotary press.
Validation is the third and the hardest. In regulated markets every printed batch needs a documented link between the digital file, the filament lot and the finished dose. That means lot-level traceability of the API, records of extrusion parameters, and a release test per batch. Software control is convenient, but it also means the file itself becomes a controlled document.
Finally there is the release mechanism. Starch-based matrices typically swell and erode in the gut, so the drug comes out over a period set by the matrix rather than by a coating. Changing wall thickness or infill changes that period. This is useful for tailoring a profile, and it is also why the same file printed on a different machine may not release at the same rate.
What printing a tablet shares with machining a medical part
A printed tablet and a machined implant solve different problems, but the quality logic is the same. Both start from a material lot with a certificate, both depend on a machine that holds its parameters, and both end with inspection that proves the part matches the drawing. Skip any of the three and the result is a part that passes once and fails the next run.
One difference is where the tolerance goes. On a machined component we hold ±0.005 mm on a bore because a mating part has to fit. On a tablet the critical dimension is mass, because mass carries the dose. Dimensional accuracy still matters, but only as a route to weight control.
For medical device work we hold ISO 13485:2016 and keep inspection records available on request. The same discipline applies to any drug-delivery hardware around a printed tablet: the printer frame, the nozzle holder, the spool hub. These are machined parts, and they need the same traceability as the tablet itself.
- 1Material lot controlDocumented properties for every incoming batch.
- 2Parameter lockNozzle temperature, feed rate and layer height recorded per run.
- 3InspectionWeight and dimensions checked, not assumed.
When printed tablets fit, and when they do not
Judged on formulation, dose and batch size rather than on printer brand.
| Scenario | Printed tablet | Conventional tablet |
|---|---|---|
| Pediatric or geriatric dose adjustment | Dose set per patient in software | Needs separate tooling per strength |
| Narrow therapeutic index drug | Requires tight weight control | Mature process control exists |
| Drug degrades above 120 °C | Not suitable | Wet granulation may work |
| Batch of 50 to 500 units | Economically reasonable | Tooling cost dominates |
| Batch above 1 million units | Slow, hard to validate | Compression wins on cost |
| Modified release geometry | Infill and shell thickness tune it | Coating or matrix former needed |
| Poorly soluble drug | Needs amorphous dispersion first | Depends on formulation route |
Where this technology actually belongs
Choose printed tablets when the batch is small and the dose varies per patient; stay with compression when the batch is large and the strength is fixed. If the drug cannot survive extrusion heat, printing is not the answer, no matter how good the printer is.
Questions engineers ask next
Does the printer control the dose?
Only partly. The dose is set by the combination of drug concentration in the filament, the volume deposited, and the infill percentage. A 5 percent error in filament diameter becomes roughly a 5 percent error in dose for the same print path.
That is why filament diameter is measured along the spool and out-of-spec segments are removed before printing.
Can any drug be printed this way?
No. Hot-melt extrusion puts the drug through a thermal window, and drugs that degrade in that window cannot be processed. Small molecules with reasonable thermal stability are the usual candidates.
Biologics and many thermolabile compounds need a different route, such as semi-solid extrusion at room temperature or inkjet deposition.
How is dissolution profile controlled?
Mainly by geometry and matrix composition. Wall thickness, infill pattern and the ratio of starch to polymer all change how fast water penetrates the tablet and how fast the drug diffuses out.
This is a formulation and print-parameter problem together, not a printer setting alone.
What does a printed tablet cost compared with a compressed one?
At low volumes the printed route avoids tooling, so the cost per unit can be lower. At high volumes the compression line wins because the per-unit cost drops with scale.
The crossover depends on the drug, the batch size and the regulatory burden in the target market.
Is the printed tablet strong enough to handle?
Mechanical strength depends on infill, wall count and the plasticizer level in the filament. A high-infill tablet handles like a conventional one; a low-infill tablet can be friable.
Packaging and handling tests should be run on the final geometry, not on a generic coupon.
Could a hospital pharmacy run this?
Some already run small-scale compounding. The practical requirements are a validated printer, controlled filament supply, and a release test per batch.
The regulatory framework differs by country, so the workflow has to be built around local rules rather than around the hardware.
Need machined hardware for a drug-delivery or medical device project?
We machine printer frames, nozzle holders and implant-grade components from your drawings. Upload a file and we return a quotation with free DFM analysis within 12 hours.
12-hour quote100% inspectionISO 13485:2016