Skip to main content
PartAndStock
Blog

What Is the 74HC165? Parallel-to-Serial Shift Register (Input) and Uses

November 19, 2026 4 min read
Quick answer

The 74HC165 is an 8-bit shift register that converts parallel inputs to a serial output (PISO). It is used to read many buttons/switches/digital inputs with few microcontroller pins. It is the inverse of the 74HC595: the 595 expands outputs, the 165 expands inputs. First LOAD latches the inputs, then clock reads them serially; unused inputs need a pull-up/pull-down.

The 74HC165 is a shift register that converts parallel inputs to a serial output (PISO — parallel-in, serial-out). It is used to read many digital inputs (buttons/switches) with few microcontroller pins. For the concept, see what is a shift register.

What is the 74HC165 used for?

Reading many buttons/switches/digital sensors with few pins. It is the inverse of the 74HC595: the 595 expands outputs (SIPO), the 74HC165 expands inputs (PISO). Chained, 8, 16, 24… inputs are read over a single SPI-like line.

Specifications

ParameterValue
TypeParallel-in → serial-out shift register (PISO)
Width8-bit (chainable)
InterfaceSerial (load/clock/data) — SPI-like
Supply2 – 6 V (HC family)

Watch out

First a LOAD (PL) pulse latches the parallel inputs into the register, then they are read serially by clock. Unused inputs must not be left floating (pull-up/pull-down); otherwise random values are read. The HC family is CMOS; mind input levels and ESD.

Equivalents

  • 74HC595: the inverse function (output expansion, SIPO).
  • CD4021: a similar PISO shift register (CMOS).
  • MCP23017: an I²C GPIO expander (input+output).

Find it in our catalog

Use the 74HC165 search.

Frequently Asked Questions

What is the 74HC165?+
The 74HC165 is a shift register that converts parallel inputs to a serial output (PISO). It is used to read many buttons/switches/digital inputs with few microcontroller pins.
What is the difference between the 74HC165 and the 74HC595?+
The 74HC595 expands outputs (serial→parallel, SIPO); the 74HC165 expands inputs (parallel→serial, PISO). One is for driving many LEDs/outputs, the other for reading many buttons/inputs.
How is the 74HC165 read?+
First a LOAD (PL) pulse latches the parallel inputs into the register, then they are read serially bit by bit with clock pulses. Unused inputs should have a pull-up/pull-down.
What is an equivalent to the 74HC165?+
The inverse-function 74HC595; the similar PISO CD4021; the I²C GPIO expander MCP23017.