Provided is a touch panel substrate capable of preventing the destruction of a detection circuit caused by the application of an electrostatic voltage. The touch panel substrate comprises a flexible substrate (20) for electrically connecting a sensor electrode (12) and a touch controller (32). One end of the flexible substrate (20) is connected to a terminal section (13) comprising a sensor electrode (12) terminal. A shielding electrode (14) is provided on the outside of the terminal section (13).