A research summary of the causes and effects of megaflooding on Earth and Mars, for hydrologists, planetary scientists and engineers.