A
microwave oven and a method of controlling the same determine if a plurality of buttons causing specific functions of the
microwave oven to be executed have been pressed to set buttons for desired functions in a memory unit. If the desired functions have not been set, a
control unit reads out the functions stored in the memory unit, causes the functions to be displayed on the display unit, allows a user to select the desired functions, and correspondingly sets the desired functions to the buttons. Meanwhile, if the desired functions have been set, the
control unit deletes or executes the desired functions corresponding to the buttons on the basis of a continuous pressing time of the buttons. Accordingly, the
microwave oven and the method may selectively set various functions of the
microwave oven to a predetermined number of function buttons, allowing execution of desired functions rapidly and easily.