The Eldon Formation is a stratigraphic unit that is present on the western edge of the Western Canada Sedimentary Basin in the southern Canadian Rockies of southwestern Alberta and southeastern British Columbia. It is a thick sequence of massive, cliff-forming limestones and dolomites that was named for Eldon Switch on the Canadian Pacific Railway near Castle Mountain in Banff National Park by Charles Doolittle Walcott, who discovered the Burgess Shale fossils. The Eldon Formation was deposited during Middle Cambrian time, and it includes fossil stromatolites. The Eldon forms the scenic cliffs at the top of Castle Mountain, and can also be seen at Mount Yamnuska and other mountains in Banff and Yoho National Parks.