Alabama police say the gun went off as the father was changing his daughter's diaper inside a car.
The bullet reportedly went through the child's leg before lodging in the man's chest.
The child is going to be ok, but her father is in serious condition.
Police say the shooting appeared accidental and haven't said if charges will be filed.