The ST L7805CV is the standard three-terminal 5 V linear regulator — the TO-220 part that has turned unregulated supplies into clean 5 V rails for fifty years. It isn't going anywhere: the 7805 remains in production from multiple manufacturers. Searches for an alternative are usually really one of four questions in disguise — how to make less heat, how to get a different voltage, how to work from a lower input, or how to deliver more current — and each has a specific answer in current parts.
Short answer
If heat is the problem, the Recom R-78E5.0-0.5 is the neatest fix available: a switching converter built into the 7805's three-pin footprint, so it drops straight into the same board position while wasting a tenth of the energy and needing no heatsink. For 3.3 V logic, the LD1117V33 is the equivalent part; for adjustable output, the LM317 family.
How the alternatives compare
Everything here does the same job — a stable output rail from a higher, messier input — but by two different methods. Linear regulators burn the difference between input and output as heat, which is simple and electrically quiet. Switching converters chop and rebuild the supply, which is efficient but introduces switching noise. That single distinction drives most of the choices below.
| Part |
Output |
Type |
Choose it when |
| L7805CV |
5 V, 1 A |
Linear, TO-220 |
The default: simple, quiet, cheap — with heatsinking to match the load |
| Recom R-78E5.0-0.5 |
5 V, 0.5 A |
Switching, 78xx footprint |
Drop-in efficiency upgrade — no heatsink, 7–28 V input |
| L78L05ACZ |
5 V, 100 mA |
Linear, TO-92 |
Light loads where the TO-220 part is overkill |
| LD1117V33 |
3.3 V, 0.8 A |
Linear LDO |
3.3 V logic — a voltage the 78xx family doesn't reach down to serve from 5 V |
| LM317T |
Adjustable, 1.5 A |
Linear, TO-220 |
Any output voltage set by two resistors |
| LM338T |
Adjustable, 5 A |
Linear, TO-220 |
Heavier loads beyond the 1 A class |
Which alternative is a direct drop-in for the L7805CV?
Two very different answers share the same three holes in the board. The first is simply another manufacturer's 7805 — the design is multi-sourced and the L7805CP offers the same regulator in a fully insulated package where the tab must not be live.
The second is the more interesting one. The Recom R-78E5.0-0.5 is a complete switching converter packaged to match the 78xx pinout: in, ground, out, in the same order. Fitted in place of a 7805 it converts at around 90% efficiency instead of burning the surplus, which is why it needs no heatsink at any input voltage in its 7–28 V range. Its limits are worth stating plainly: this model delivers 0.5 A rather than 1 A, and as a switching device it produces high-frequency noise that a linear part doesn't — fine for logic, microcontrollers and LED circuits, less welcome directly supplying sensitive analogue or radio stages.
How much heat are we actually talking about?
The arithmetic is unforgiving. A linear regulator dissipates the input-output difference multiplied by the load current: feed a 7805 from 12 V and draw 500 mA, and it burns 3.5 W — a bare TO-220 will run scorching hot, so a heatsink stops being optional well before the part's current limit is reached. The same job in the R-78E wastes a fraction of a watt. This is also the honest way to read the 7805's 1 A rating: it's achievable, but only with an input close to 7 V or serious heatsinking, not from 12 V on a bare package.
What if the input voltage is too low?
The standard 7805 needs roughly 2 V of headroom — in practice about 7 V minimum at the input — which rules out regulating 5 V from a battery pack that sags to 6 V. Low-dropout regulators close that gap: the LM2940CT-12 holds a 12 V rail from little more than 12.5 V in, and the LD1117 family regulates with around a volt of headroom. For inputs that can fall below as well as above the output, a buck-boost module such as the Joy-IT SBC-Buckboost01 covers both directions — a common requirement on lithium-battery projects.
What about other voltages and higher currents?
The 78xx family answers fixed voltages directly — the L7812CV is the same part built for 12 V — but notably offers nothing at 3.3 V, which modern logic increasingly wants. The LD1117V33 fills that slot, and its low dropout means it will happily make 3.3 V from an existing 5 V rail. Where the voltage needs to be something non-standard, the LM317T sets any output from 1.25 V upward with two resistors; its bigger sibling the LM338T does the same to 5 A. And for bench and prototype work where soldering a regulator is a step too early, an adjustable module like the Joy-IT SBC-Buck01 does the job with screw terminals.
What should you check before substituting?
Work through four things. Dropout: confirm the minimum input the replacement needs is actually available in your circuit, especially on battery supplies. Dissipation: for any linear part, multiply the input-output difference by the load current and be honest about whether the package can shed that many watts. Noise: switching replacements suit digital loads well, but analogue front ends, audio stages and radio circuits may still want a linear part — or a linear part cleaning up after a switcher. Pinout: the 78xx order is input-ground-output, but it is not universal — the LM317's legs are arranged differently, and the LD1117's differently again, so check before assuming any TO-220 regulator drops into the same holes.
Browse voltage regulators
Fixed, adjustable and low-dropout regulators plus switching converters from ST, Texas Instruments, Recom and more.
Frequently asked questions
Is there a drop-in switching replacement for the 7805?
Yes — switching converters in the 78xx footprint, such as the Recom R-78E series, use the same three-pin arrangement and fit the same board position while running at around 90% efficiency with no heatsink. Check the current rating of the specific model and consider switching noise for analogue circuits.
Why does my 7805 get so hot?
Because a linear regulator disposes of the input-output voltage difference as heat. The dissipation is that difference multiplied by the load current, so a higher input voltage or heavier load means more heat — reduce the input, add a heatsink, or move to a switching converter.
What is the minimum input voltage for a 7805?
Around 7 V — the standard part needs roughly 2 V of headroom above its output to regulate. If less headroom is available, a low-dropout regulator is the right substitute.
Can I use an LM317 instead of a 7805?
Electrically yes — set with the right resistor pair it makes a fine 5 V regulator with similar current capability. It is not a drop-in, though: the pinout differs from the 78xx arrangement, and it needs the two programming resistors the fixed part does without.