A DIP switch is an electric switch that is packaged in a standard Dual-Inline Package or DIP. Because of the DIP form factor, arrays of multiple switches can easily be incorporated into the same package. This type of switch is designed to be used on a printed circuit board along with other electronic components and is commonly used to customize the behavior of an electronic device for specific situations.

DIP switches are often used instead of jumper blocks where a setting may be changed more than once.