The Muskeg Formation is a geologic formation of Middle Devonian (Givetian) age in the Western Canada Sedimentary Basin. It extends from the plains of northwestern Alberta to northeastern British Columbia, and includes important petroleum and natural gas reservoirs in the Zama lake and Rainbow Lake areas of northwestern Alberta.