An electronic device includes a chassis, an input device provided on a top surface of the chassis and configured to receive an input operation, and a pen holder provided so as to project from a side surface of the chassis and configured to be able to hold a pen device in a posture along the side surface. The pen holder has a pen holding part composed of stretchy fabric formed into a loop and configured to be able to hold the pen device by insertion of the pen device through its inner periphery part, and a bracket having a cutout part in which a part of the pen holding part is disposed and to be fixed to the chassis.