Immersing in the ocean is logistically complicated but is permissible if there is no mikveh available. However, immersing in the ocean on Shabbat is even more complex, for a number of reasons (carrying,
techum Shabbat…). Therefore, we recommend
delaying immersion until Motzai Shabbat.
Please see our article on immersion in a
natural body of water for guidelines.
B’Hatzlacha!