An information apparatus includes a housing, a cover mounted to the housing in an openable and closable manner, a detection device that detects an open state and a closed state of the cover, a penetrating hole provided in one of the housing or the cover and a protruding portion provided in the housing or the cover where the penetrating hole is not provided.