Sydney has sweltered through its second hottest day on record as the mercury reached more than 47 degrees in Penrith.

See how your suburb compared in the chart below, showing the highest maximum temperatures recorded at various Bureau of Meteorology weather stations as at 5pm Sunday.

There was little respite to be found anywhere as temperatures above 40 were found all over the city.

Richmond, Bankstown, Campbelltown, Camden, Holsworthy and Horsley Park were other stations to record more than 45 degrees.