Cindi West of the King County Sheriff's Office said deputies responded to a 911 call at 6 p.m. in the 3700 block of South 191st Street.
When they arrived, they found an armed homeowner and a man with a gunshot wound to the head.
The homeowner said he was sleeping just before 6 p.m. when he heard his doorbell ring. He ignored it, but moments later he heard what sounded like glass shattering.
The man said he dialed 911 and grabbed a nearby gun before leaving his bedroom to investigate the noise.
The man soon noticed that his sliding glass door had been broken and two men were standing in his house.
He fired at least one shot, hitting one of the intruders in the head. The other man ran away.
Miraculously, West said the wounded man was speaking to emergency workers and is expected to survive the injury.
Deputies are still at the scene trying to track down the second burglar.