"Hasty" and the 2nd Destroyer Flotilla were ordered to the Mediterranean on 16 May, and the ship escorted the and three British cruisers as they bombarded Bardia during the night of 20/21 June. On 9 July "Hasty" participated in the Battle of Calabria as an escort for the heavy ships of Force C and unsuccessfully engaged Italian destroyers and suffered no damage. During the Battle of Cape Spada on 19 July, the ship escorted Australian light cruiser and rescued some 525 survivors from the together with the other escorting destroyers. "Hasty" and her sister sank the on 2 October off the coast of Egypt and rescued 47 survivors between them. The ship escorted the carrier during the Battle of Taranto on the night of 11/12 November. During the bombardment of Valona, Albania, on the night of 18/19 December, "Hasty" escorted the battleships and .