At the start of the season the F.F.I.R.I. banned him from playing along with two fellow Esteghlal teammates Majid Hosseini and Omid Noorafkan as Alireza Mansourian prevented them to join Iran under-23 camp.
The deprivation from the F.F.I.R.I. was finally cancelled on 29 July 2017 after missing the first week of the season and the players eligible to play for the second week of the 2017–18 campaign.
He finally made his debut for Esteghlal on 4 August 2017 in a 0–0 draw against Esteghlal Khuzestan entering the match as a substitute for Omid Noorafkan.
At the end of the match, even though he played for a few minutes, he was praised for his skills and effort.
After making his debut he became the youngest player to play for Esteghlal in the league, a record which was held by Omid Noorafkan previously.
He started his first match for the club in a 3–0 victory over Sepahan on 6 December.
On 25 January 2018, Esteghlal was awarded a penalty after a foul on Ghayedi which was converted by Server Djeparov in the 4–0 victory against Pars Jonoubi Jam; he also assisted Ali Ghorbani's goal in the same match.
He was named the man of the match for his performance.

On 29 January, Ghayedi was involved in a serious car crash in his hometown Bushehr along with his friends and his cousin who died a few days later.
As result of the accident, he went through a surgery due to his Spleen being damaged by trauma and was ruled out for the rest of the season.
A day later Esteghlal beat Sanat Naft in Hazfi Cup and his teammates dedicated the victory to him.
At the start of the season the F.F.I.R.I. banned him from playing along with two fellow Esteghlal teammates Majid Hosseini and Omid Noorafkan as Alireza Mansourian prevented them to join Iran under-23 camp. The deprivation from the F.F.I.R.I. was finally cancelled on 29 July 2017 after missing the first week of the season and the players eligible to play for the second week of the 2017–18 campaign. He finally made his debut for Esteghlal on 4 August 2017 in a 0–0 draw against Esteghlal Khuzestan entering the match as a substitute for Omid Noorafkan. At the end of the match, even though he played for a few minutes, he was praised for his skills and effort. After making his debut he became the youngest player to play for Esteghlal in the league, a record which was held by Omid Noorafkan previously. He started his first match for the club in a 3–0 victory over Sepahan on 6 December. On 25 January 2018, Esteghlal was awarded a penalty after a foul on Ghayedi which was converted by Server Djeparov in the 4–0 victory against Pars Jonoubi Jam; he also assisted Ali Ghorbani's goal in the same match. He was named the man of the match for his performance.
On 29 January, Ghayedi was involved in a serious car crash in his hometown Bushehr along with his friends and his cousin who died a few days later. As result of the accident, he went through a surgery due to his Spleen being damaged by trauma and was ruled out for the rest of the season. A day later Esteghlal beat Sanat Naft in Hazfi Cup and his teammates dedicated the victory to him.
Mehdi Ghayedi