The origins of Coquito are not entirely clear, but it is thought to have originated in the 16th century, when Puerto Rico was a Spanish colony. During this time, coconuts were plentiful on the island, and the locals began to use them in various ways, including making a drink with coconut milk and spices. Over time, this drink evolved into the modern-day Coquito.