Porterville police arrested 36-year-old Joe Gomez for child endangerment, causing injury.
Officers first went to his home Friday night after getting reports that his two year old daughter had ingested the powerful painkiller which is often used to treat drug addicts.
The little girl is now recovering at a Bakersfield hospital.