Onshore power supply (OPS) to ships at berth is a proven technology that helps reduce emissions in ports. This report analyses whether there is a risk that OPS installations will become stranded assets by 2040 when ships start operating on zero-emission fuels. We found that the risk is small for three reasons. First, the variable costs of shore power are projected to be lower than electricity generated on board with a decarbonised fuel. Second, ships operate on fully renewable fuels may still have air pollutant emissions, especially when the renewable fuels are used in internal combustion engine with a pilot fuel. Third, in all decarbonisation scenarios, a significant proportion of maritime fuels will still be fossil by 2040.