A display driver includes: a data line driver circuit which drives an output line connected with a data line based on a drive voltage corresponding to display data; a first switching element connected between a first power supply line and the output line; a second switching element connected between a second power supply line and the output line; and a switch control circuit which controls the first and second switching elements. In a first period, the first switching element is set to an on-state, and the second switching element is set to an off-state. In a second period after the first period, the first switching element is set to an off-state, and the second switching element is set to an on-state. After the second period, the first and second switching elements are set to an off-state, and the data line driver circuit drives the output line.