Establishing marine protected areas and putting in place adaptive measures, such as precautionary catch limits to prevent overfishing, can protect ocean ecosystems and shield humans from the effects of ocean warming.