74HC04 hex inverter
Pinout and electrical limits for the Texas Instruments SN74HC04.
Pinout
Arrows show signal direction between paired pins.
1 · 1A
CMOS input · 0 V to VCC
Wiring requirements
Gate 1. The output carries the inverse of its paired input.
Before wiring or changing connections. Switch off the supply and external signal sources.
Powered operation. Connect VCC to 2–6 V and GND to the supply return and signal ground.
Supply bypass. TI recommends 100 nF across VCC and GND, close to the package.
If the gate is unused. Tie this input to GND or VCC for a defined logic level.
When driving this input. Stay within the supply rails. Check VIH, VIL and the rise and fall limits at the chosen VCC.
Slow or noisy input. Use a Schmitt-trigger stage to condition the signal before it reaches the HC04.
Supply connections
All 14 pins
| Pin | Name | Role | Range |
|---|---|---|---|
| 1 | 1A | CMOS input | 0 V to VCC |
| 2 | 1Y | Push-pull output | 0 V to VCC |
| 3 | 2A | CMOS input | 0 V to VCC |
| 4 | 2Y | Push-pull output | 0 V to VCC |
| 5 | 3A | CMOS input | 0 V to VCC |
| 6 | 3Y | Push-pull output | 0 V to VCC |
| 7 | GND | Ground reference | 0 V |
| 8 | 4Y | Push-pull output | 0 V to VCC |
| 9 | 4A | CMOS input | 0 V to VCC |
| 10 | 5Y | Push-pull output | 0 V to VCC |
| 11 | 5A | CMOS input | 0 V to VCC |
| 12 | 6Y | Push-pull output | 0 V to VCC |
| 13 | 6A | CMOS input | 0 V to VCC |
| 14 | VCC | Positive supply | 2–6 V |
Inverter channels
Each channel has a fixed input and output. When A is LOW, Y is HIGH. When A is HIGH, Y is LOW.
Electrical limits
Recommended operation for TI SN74HC04 is VCC 2–6 V, free-air temperature −40 to +85 °C, and input and output voltages within the supply rails. All voltages are relative to GND.
Digital input thresholds
| VCC | VIL max (LOW) | VIH min (HIGH) |
|---|---|---|
| 2 V | 0.5 V | 1.5 V |
| 4.5 V | 1.35 V | 3.15 V |
| 6 V | 1.8 V | 4.2 V |
Use the driver’s guaranteed output levels and the receiver’s input limits at their actual supply voltages. A 3.3 V output driving a 5 V HC input requires a worst-case level check.
Output levels at 4.5 V
| Output load magnitude | VOL max | VOH min |
|---|---|---|
| 20 µA | ≤ 0.1 V | ≥ 4.4 V |
| 4 mA | 0.33 V | 3.84 V |
Limits apply over −40 to +85 °C with a valid LOW or HIGH input. At 4.5 V and 50 pF, propagation delay is 9 ns typical at 25 °C and 24 ns maximum across the operating temperature range.
Source: TI SCLS078H Rev. H, §§ 6.3, 6.5, 6.7 and 7.
Package and documents
TI package code N · 19.3 × 6.4 mm nominal body · 2.54 mm lead pitch. Use TI’s package outline for footprint dimensions and tolerances.
Order codes use the SN74HC04 prefix. Suffixes for this package in TI’s 23 October 2026 addendum: N, N.A, NE4.
- TI SNx4HC04 datasheet (PDF)· SCLS078H, Rev. H (April 2021), with package option addendum
- TI SN74HC04 product and ordering information
Pin assignments: § 5. Package dimensions: Device Information and Mechanical, Packaging, and Orderable Information.
