In the 2012–13 season, Edgar continued to be in a first team regular despite competing threats from new signing Jason Shackell. As a result, Manager Sean Dyche placed him in a midfielder position on several occasions following a midfield crisis. Although he played out different positions in both defender and midfielder, he was also placed on the substitute bench. It wasn't until on February 9, 2013 when he scored his first Burnley goal, in a 2–1 loss against Bolton Wanderers. His second goal of the season then came on April 20, 2013, in a 1–1 draw against Cardiff City. He went on to make thirty appearances (twenty–seven in the league) and scoring two times in all competitions.