Two appliances and crews from High Wycombe and one from Beaconsfield attended, along with an officer.
The firefighters used two sets of breathing apparatus and a positive pressure ventilation fan to clear smoke.
Unattended cooking had burnt and caused smoke logging to the building.
The firefighters provided advice.
Safe cooking and storage practices in kitchens can help avoid a fire starting. Visit our Kitchen Safety page in our Safety Advice Hub for tips on how to prevent a fire.