The potential tunnel would be no longer than the channel tunnel connecting Britain with France

Morocco, UK Considering Tunnel Connecting Gibraltar With Tangiers
Years after the failure of a planned Spanish-Moroccan tunnel project, the idea of establishing a physical connection between the two continents is back on the radar.