A notebook computer including a first body, a second body having a first display, a third body having a second display, a first hinge module, a second hinge module, a first electronic module, a second electronic module, and a switch module is provided. The first body and the second body rotate relatively via the first hinge module, and the second body and the third body rotate relatively via the second hinge module. The switch module is disposed in the first hinge module, and the switch module is electrically connected to and activates the first electronic module or the second electronic module depending on a rotating state of the first hinge module.