The 18 year old midfielder has made 14 senior starts so far this season.
Dyer's 12-month extension will keep him at Sixfields until at least June 2010.
Northampton boss Stuart Gray told the club website: "Alex is potentially a very good player and that's why we've given him this contract."