Skip to datasheet
The Engineering ProjectsAI Interactive Datasheet

LM317Adjustable linear regulator

Set the voltage. Understand the heat.

Manufacturer-referenced

STMicroelectronics · LM317T

TO-220DS0433 · Revision 22 · December 2021

LM317 is a three-terminal adjustable linear regulator. Two external resistors set its output, while an internal reference and pass stage maintain approximately 1.25 V between OUTPUT and ADJUST. This reference follows STMicroelectronics LM317T and LM317D2T-TR. Its output can be adjusted over the manufacturer’s 1.2–37 V range when input headroom, minimum load and thermal conditions are met. The metal tab is connected to OUTPUT. A useful design starts with the feedback equation, then checks bypass capacitors, load current and heat. The current rating alone does not determine how much power the package can dissipate.

Real View

Black LM317 regulator with a silver tab, silver leads and readable package markings.
LM317T · TO-220Package illustration

Pinout

LM317TTO-220Front view · marking toward you · leads down
Select a pin to see its functionTO-220 · 3 pins

PCB Footprint

Loading footprint…
Powered by
Finding TO-220 packageTop view · mm

3D View

Preparing 3D preview…
3D packageDrag to rotate · Scroll to zoom
3Physical pins LM317TTO-220 Manufacturer-referencedSTMicroelectronics

Pin diagram

Select a pin to explore its connection

Package map
Highlight
LM317TTO-220Front view · marking toward you · leads down

Click a lead or use the arrow keys. Front view · marking toward you · leads down

1
PIN 1 · Adjustment & feedback

ADJUST

Feedback reference

Function

The control loop holds approximately 1.25 V between OUTPUT and ADJUST.

How to connect

Connect R1 from OUTPUT to ADJUST and R2 from ADJUST to the load return.

Electrical note

Adjustment current flows out of this pin; include IADJ × R2 when estimating output voltage. This is not a ground pin.

Key specifications

The regulated quantity is the voltage between OUTPUT and ADJUST. The external divider determines the output relative to ground.

Nominal reference1.25 V · OUT to ADJ
Adjustable output1.2–37 V · with adequate headroom
Operating junction0–125 °C · LM317 grade
Electrical connections3 ADJ · OUT · IN

Operating profile

Supply, signals and operating conditions

LM317 operating profile
ParameterValueConditions / notes
Selected packageTO-220LM317T
Output equationVREF × (1 + R2/R1)Add the IADJ × R2 term
Current capability1.5 A classSubject to differential voltage and cooling
Use these values with the stated grade and test conditions.

Package details

LM317T · TO-220

Selected package
Selected LM317 physical package
PropertyDetails
ManufacturerSTMicroelectronics
Part numberLM317T
PackageTO-220
Connections3 pins
MountingThrough-hole
Lead pitch2.54 mm
Package codeT
Thermal referenceCooling and mounting dependent; see DS0433

Operating characteristics

ST LM317 · not LM217 or LM317B

Scroll sideways to see all columns.

ParameterValueConditions / notes
Output adjustment1.2–37 VRequires input headroom, load and suitable cooling
Reference voltage1.2 / 1.25 / 1.3 VMinimum / typical / maximum; Table 4 conditions
Junction temperature0–125°CSelected LM317 grade
Minimum load at 40 V differential3.5 mA typical; 10 mA maximumOutput may rise if the load is insufficient
Adjustment current50 µA typical; 100 µA maximumInclude its contribution through R2

Base conditions: VIN − VOUT = 5 V, IOUT = 500 mA, IMAX = 1.5 A, PMAX = 20 W unless stated. These are test conditions, not a package dissipation guarantee.

Regulation and rejection

Manufacturer conditions retained

Scroll sideways to see all columns.

ParameterValueConditions / notes
Line regulation at 25°C0.01%/V typical; 0.04%/V maximumVIN − VOUT = 3–40 V
Line regulation over temperature0.02%/V typical; 0.07%/V maximumVIN − VOUT = 3–40 V
Load regulation, output ≤5 V5 mV typical; 25 mV maximum25°C; IOUT = 10 mA to IMAX
Ripple rejection without CADJ65 dB typical120 Hz; 25°C
Ripple rejection with CADJ66 dB minimum; 80 dB typicalCADJ = 10 µF; 120 Hz; 25°C

The adjustable output and test load affect which row applies; consult Table 4 for complete conditions.

A nominal 5 V supply

9 V input · 120 Ω / 360 Ω divider

Scroll sideways to see all columns.

ParameterValueConditions / notes
R1 · OUTPUT to ADJUST120 ΩReference current ≈ 1.25 / 120 = 10.42 mA
R2 · ADJUST to GND360 ΩNominal resistor ratio 3:1
Ideal output5.00 V1.25 × (1 + 360 / 120)
Including typical IADJ5.018 VAdds 50 µA × 360 Ω = 18 mV
Input bypass0.1 µFPlace close to the input and return
Output capacitor1 µF tantalumIllustrative transient improvement from manufacturer guidance

Use resistor and capacitor ratings appropriate to the circuit. The drawing omits optional adjustment bypass and its associated protection diode.

Headroom and thermal design

Current ratings require cooling

Scroll sideways to see all columns.

ParameterValueConditions / notes
Pass-stage estimatePD ≈ (VIN − VOUT) × IOUTInclude divider current in IOUT
TO-220 RθJC5°C/WPackage reference; actual mounting matters
D²PAK RθJC3°C/WPackage reference; actual PCB copper matters
Overload protectionsCurrent, thermal and safe-area protectionDo not use protection as normal regulation
High differential voltageAvailable current decreasesSee manufacturer curves and operating limits

The LM317 is a linear regulator: excess voltage is dissipated rather than efficiently converted.

Package and stress limits

LM317T · TO-220

Scroll sideways to see all columns.

ParameterValueConditions / notes
Connections1 ADJUST · 2 OUTPUT · 3 INPUTFollow the selected package orientation
Tab / thermal padOUTPUT · pin 2Not GND
Input-to-output absolute maximum40 VStress rating; not a normal design target
Storage temperature−65 to +150°CUnpowered
Lead pitch2.54 mmVerify the selected manufacturer drawing

The same three numbers have different functions from a 7805. Do not substitute without checking connections.

Connections by function

Select a pin for its function, connection guidance and electrical notes.

Adjustment & feedback1 pin

Regulated output1 pin

Supply1 pin

Read the conditions with every value

Typical values describe stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

Official PDF datasheet

LM317 at a glance

Follow the labeled connections and functional stages

LM317 working principle: illustrated functional stages, basic circuit and connections
Select the diagram to read it at full resolution.

How it works

3 stages · Explore one step at a time

Step 1 / 3

Create the reference

The regulator maintains approximately 1.25 V from OUTPUT to ADJUST. Unlike a 7805, the adjustment terminal is not tied directly to ground.

Step 2 / 3

Set output with two resistors

R1 runs from OUTPUT to ADJUST; R2 runs from ADJUST to the return. Their ratio sets the output, with a small additional term from adjustment-pin current.

Step 3 / 3

Keep the loop within its limits

The source must provide headroom and the load must draw sufficient current. Input-to-output voltage and current become heat in the pass stage.

LM317 in a circuit

One regulator, two resistors and short bypass connections.

LM317 functional circuit with 9 V to input pin3, output pin2 feeding R1 120 ohms, ADJUST pin1 at the R1 R2 junction, and R2 360 ohms to ground.
Functional wiring layout; use the Pinout view for physical lead placement. VOUT is nominal and depends on reference, resistor and adjustment-current tolerances.

Connect it, step by step

Follow the component values and pin connections

Connect input and return

Feed INPUT from 9 V DC; put 0.1 µF between this rail and the common return.

Connect the divider

R1 = 120 Ω goes from OUTPUT to ADJUST. R2 = 360 Ω goes from ADJUST to GND.

Check the result

The ideal output is 5 V. Account for adjustment current and heating, then check it under the intended load.

Inside LM317

A floating control loop inside the regulator package.

LM317 functional package cutaway with input, pass stage, output, reference, error amplifier and adjustment feedback.
Functional cutaway, not a physical silicon layout. The loop regulates OUTPUT relative to ADJUST.

Explore the circuit

Select a stage to see its role and connections

Floating reference

The reference controls OUTPUT minus ADJUST; there is no dedicated ground lead.

Pass-stage control

The error amplifier drives the series pass stage to keep the reference difference stable.

Protection

Current and thermal limiting protect the pass stage under abnormal conditions.

Selected packageTO-220LM317T
Physical connections3 pinsPackage-specific numbering
Reference collection6 tables26 parameters & pin functions

Pin reference

Signal names, electrical functions and connection guidance

TO-220
Physical pin numbers3 pins

Scroll within the table to see all columns and rows.

LM317 pin functions and connections
PinSignalTypeFunction & connection
ADJUSTFeedback referenceThe control loop holds approximately 1.25 V between OUTPUT and ADJUST.
Connection guidance

Connect R1 from OUTPUT to ADJUST and R2 from ADJUST to the load return.

Adjustment current flows out of this pin; include IADJ × R2 when estimating output voltage. This is not a ground pin.

OUTPUTRegulated outputSupplies the load and the external feedback divider. The metal tab is also OUTPUT.
Connection guidance

Connect the load and the top of R1 here. Keep the R1 connection close to the output lead.

The exposed TO-220 tab and D²PAK thermal pad are electrically live at output voltage; isolate a grounded heatsink where needed.

INPUTUnregulated inputFeeds the pass stage from a DC voltage sufficiently above the requested output.
Connection guidance

Place a 0.1 µF input bypass close to the device when required by the supply wiring.

The 40 V absolute limit is input-to-output differential, not a recommended operating input or an unconditional output range.

TO-220 · Front view · marking toward you · leads down · Select a pin number to open its interactive pinout.

Operating characteristics

ST LM317 · not LM217 or LM317B

Manufacturer-referenced values5 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Output adjustment1.2–37 VRequires input headroom, load and suitable cooling
Reference voltage1.2 / 1.25 / 1.3 VMinimum / typical / maximum; Table 4 conditions
Junction temperature0–125°CSelected LM317 grade
Minimum load at 40 V differential3.5 mA typical; 10 mA maximumOutput may rise if the load is insufficient
Adjustment current50 µA typical; 100 µA maximumInclude its contribution through R2

Base conditions: VIN − VOUT = 5 V, IOUT = 500 mA, IMAX = 1.5 A, PMAX = 20 W unless stated. These are test conditions, not a package dissipation guarantee.

Regulation and rejection

Manufacturer conditions retained

Manufacturer-referenced values5 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Line regulation at 25°C0.01%/V typical; 0.04%/V maximumVIN − VOUT = 3–40 V
Line regulation over temperature0.02%/V typical; 0.07%/V maximumVIN − VOUT = 3–40 V
Load regulation, output ≤5 V5 mV typical; 25 mV maximum25°C; IOUT = 10 mA to IMAX
Ripple rejection without CADJ65 dB typical120 Hz; 25°C
Ripple rejection with CADJ66 dB minimum; 80 dB typicalCADJ = 10 µF; 120 Hz; 25°C

The adjustable output and test load affect which row applies; consult Table 4 for complete conditions.

A nominal 5 V supply

9 V input · 120 Ω / 360 Ω divider

Manufacturer-referenced values6 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
R1 · OUTPUT to ADJUST120 ΩReference current ≈ 1.25 / 120 = 10.42 mA
R2 · ADJUST to GND360 ΩNominal resistor ratio 3:1
Ideal output5.00 V1.25 × (1 + 360 / 120)
Including typical IADJ5.018 VAdds 50 µA × 360 Ω = 18 mV
Input bypass0.1 µFPlace close to the input and return
Output capacitor1 µF tantalumIllustrative transient improvement from manufacturer guidance

Use resistor and capacitor ratings appropriate to the circuit. The drawing omits optional adjustment bypass and its associated protection diode.

Headroom and thermal design

Current ratings require cooling

Manufacturer-referenced values5 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Pass-stage estimatePD ≈ (VIN − VOUT) × IOUTInclude divider current in IOUT
TO-220 RθJC5°C/WPackage reference; actual mounting matters
D²PAK RθJC3°C/WPackage reference; actual PCB copper matters
Overload protectionsCurrent, thermal and safe-area protectionDo not use protection as normal regulation
High differential voltageAvailable current decreasesSee manufacturer curves and operating limits

The LM317 is a linear regulator: excess voltage is dissipated rather than efficiently converted.

Package and stress limits

LM317T · TO-220

Manufacturer-referenced values5 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Connections1 ADJUST · 2 OUTPUT · 3 INPUTFollow the selected package orientation
Tab / thermal padOUTPUT · pin 2Not GND
Input-to-output absolute maximum40 VStress rating; not a normal design target
Storage temperature−65 to +150°CUnpowered
Lead pitch2.54 mmVerify the selected manufacturer drawing

The same three numbers have different functions from a 7805. Do not substitute without checking connections.

Read each value with its conditions

Typical values describe the stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

STMicroelectronics · DS0433 · Revision 22 · December 2021
Official PDF datasheet

Current regulation

Use the reference across a current-setting resistor in the manufacturer’s constant-current configuration.

Manufacturer application guide

Take it into ProTech

Find LM317 in the Components Library to place its schematic symbol and connect its pins.

Reference page · circuit simulation model not yet availableOpen ProTech

Component view