The coast around Benagil, Portugal, is made up of Miocene limestone sitting on much older rocks created in the Mesozoic.

Over time, the limestone built up, with the layers that make up the Benagil Sea Cave forming about 20 million years ago.