A man shot himself in the leg while cleaning his handgun at his home and has been taken to Miami Valley Hospital.