Sanchez joined McLaren from Ferrari in January among a series of hires to augment the team's engineering staff, but it became apparent that his duties as the technical director in charge of concept and performance were "not aligned" to those discussed previously.
Team principal Andrea Stella will thus assume Sanchez's duties in the interim, as the team searches for a replacement to head up the performance side of the team.
In a statement, Stella remarked that he was grateful for Sanchez's contributions among his short period at the team, but recognised that the initial brief laid out had not translated into the reality of the job.
"Following thoughtful discussions between David Sanchez and the team leadership, the mutual decision has been taken for David to leave the team," Stella said.
"Upon our joint reflection, it became apparent that the role, responsibilities, and ambitions associated with David’s position did not align with our original expectations when he agreed to join us in February 2023.
"Recognising this misalignment, both David and I agreed that it would be best to part ways now, so to enable him to pursue other opportunities that will better leverage the full scale and breadth of his remarkable skillset.
"We greatly and gratefully value the contributions that David has made during his relatively short time with us, and we wish him the best in his future endeavours."