The invention relates to a microprocessor-based embedded intelligent power socket implemented in an infrared remote control signal decoding mode, which comprises an external power interface, a motherboard and an output socket, wherein the motherboard comprises an anti-thunder and anti-surge module, a microprocessor, an infrared receiving module, a direct-current voltage-stabilized power module, a two-path relay driving module, a current detecting and debugging module, a voltage detecting and debugging module, a USB power module, an external storage module, and a wireless module. By acquiring and recording loaded current and voltage signals in real time, the intelligent power socket provided by the invention can achieve automatic power off when a loaded current is too big or the load is in a stand-by state; the intelligent power socket disclosed by the invention can be controlled through a mobile phone APP or infrared remote control signals; the infrared remote control signal decoding mode provided by the invention can achieve decoding on any keys of any infrared remote controls under the condition that no infrared signal matching learning is performed, thereby realizing the on-off control of an output power supply; and the intelligent power socket disclosed by the invention also has the functions of thunder prevention, surge prevention, and electric shock prevention.