The scholarly consensus today holds that most of the Sonnets were written in the 1590s, when Shakspere of Stratford was in his late 20s to late 30s, a relatively youthful age even in Elizabethan times.
FORBES: Yes, Shakespeare Really Did Write Shakespeare