It is first recorded in English in the late 1800s, but its specific language of origin is uncertain.
Caca and very similar words mean poop in several languages, and there is that the term originates from a Spanish-speaking country, but this has not been confirmed.
.