the maritime pine is native to the southwest and southern europe, north africa in morocco, and along the border between algeria and tunisia. it is mainly a pine of low, coastal plains, usually on sandy soils of sea shore dunes; however, in morocco this species can grow in mountains to an elevation of near .