A display device is provided and includes display panel; sensor substrate formed on display panel; and M drive electrodes and detection electrodes extended in direction so as to intersect with M drive electrodes, wherein among M drive electrodes, any of lengths of N first drive electrodes, which are continuously adjacent to one another, is shorter than any of lengths of other N second drive electrodes which are continuously adjacent to one another, and number of detection electrodes which intersect with N first drive electrodes is larger than number of detection electrodes which intersect with N second drive electrodes.