A whale carcass beached at Jubilee Point in Sorrento.
© AAP
A whale carcass beached at Jubilee Point in Sorrento.
A shark warning has been issued for a popular beach on the Mornington Peninsula after a whale carcass washed ashore.

Stunned beachgoers at Jubilee Point discovered the massive whale about midday.

Photos from the scene show a bloodied carcass up against rocks near the base of a cliff.

Emergency Victoria advised swimmers to "stay out of the water" at the popular Sorrento Beach, as sharks may appear to feed on the dead whale.

The Department of Environment, Land, Water and Planning said nearby walking tracks were also closed while the carcass was removed.

"A dead whale has washed up near Sorrento Beach at Jubilee Point. DELWP and Parks Victoria are working together to remove the whale," a statement said.

"Mornington Peninsula's Diamond Bay beach and Point Jubilee walking track have been closed due to a washed-up whale carcass."