According to one embodiment, an electronic apparatus includes a housing and a button. The housing contains a switch. The button is arranged in the housing, opposed to the switch and configured to operate the switch. The switch is positioned off a center of the button.