Starship has the potential to return serious tonnage from Mars within ~5 years
Which then begs the question: When are the next optimal Earth-Mars departure dates?
The approximate dates for a Hohmann transfer departing Earth for Mars:
21st November - 12th December, 2024
25th January - 14th February, 2027
27th March - 15th April, 2029
29th May - 16th June, 2031
30th July - 17th August, 2033
29th September - 17th October, 2035
28th November - 16th December, 2037
30th January - 17th February, 2040
Hohmann windows departing Mars for Earth.
3rd July - 22nd July, 2026
3rd August - 22nd August, 2028
4th September - 23rd September, 2030
4th October - 23rd October, 2032
4th November - 23rd November, 2034
5th December - 24th December, 2036
6th January - 25th January, 2039
From:
Timeline of a Mars Settlement - Future Timeline
https://futuretimeline.net/forum/viewtopic.php?t=3013April 26, 2023
The duration of the transfer flight and its departure date is variable, depending on the ∆v the spacecraft can achieve.