Atlanta United midfielder Dax McCarty announced his retirement - effective at the end of the MLS season - in a post on social media Monday.

“The competitor in me thinks I can play forever but the realist in me knows that is the right time to walk away,” he said from his X handle (formerly Twitter),

McCarty, 37, has 481 appearances in MLS regular season matches, including 15 with Atlanta United. He’s made 511 appearances in regular season and playoff matches.

McCarty signed with Atlanta United as a free agent before this season. It is his 19th in MLS.

He said in his post that he’s known for a couple of weeks and that he’s grateful for everyone who has helped him during his career.

“I know that we still have plenty to play for,” he said. “I still have a burning desire to be successful this season. I want to enjoy every last training session and every last game.”

For more content about Atlanta United

Follow me on Twitter/X @DougRobersonAJC

On Facebook at Atlanta United News Now

On Instagram at DouglasDavidRoberson

Atlanta United coverage on The Atlanta Journal-Constitution

Southern Fried Soccer podcast can be found

Apple - https://apple.co/3ISD6Ve

Spotify - https://spoti.fi/3L8TN0C

Google podcasts - https://bit.ly/32KlZW3

If you are going to listen to the podcast for the first time, please follow it on Apple, Spotify or wherever you get your podcasts ... and if you like what you hear, please give us a good rating so we can grow the show. If you have questions about the MLS team, you can email Doug Roberson at droberson@ajc.com, DM him on Twitter @dougrobersonajc or call 404-526-2527.

Stay up to date every day on breaking news, in-depth investigations, politics, sports, entertainment, food and dining and so much more by becoming a subscriber to the AJC. Go to AJC.com/start for a very special offer and unlock hundreds of original articles published daily on the refreshed AJC.com and the new AJC mobile app. Plus, access to our news alerts, subscriber-only events, AJC original shows, films and videos, newsletters, and so much more.

Atlanta United’s 2024 schedule

Feb. 24 Columbus 1, Atlanta United 0

March 9 Atlanta United 4, New England 1

March 17 Atlanta United 2, Orlando 0

March 23 Toronto 2, Atlanta United 0

March 31 Atlanta United 3, Chicago 0

April 6 Atlanta United 1, NYCFC 1

April 14 Atlanta United 2, Philadelphia 2

April 20 Cincinnati 2, Atlanta United 1

April 27 Atlanta United 1, Chicago 1

May 4 Minnesota 2, Atlanta United 1

May 7 Atlanta United 3, Charlotte Independence 0 in U.S. Open Cup

May 11 D.C. United 3, Atlanta United 2

May 15 Cincinnati 1, Atlanta United 0

May 18 Atlanta United 1, Nashville 1

May 21 Atlanta United 0 (5), Charleston 0 (4) in U.S. Open Cup

May 25 LAFC 1, Atlanta United 0

May 29 Atlanta United 3, Miami 1

June 2 Charlotte 3, Atlanta United 2

June 15 Atlanta United 2, Houston 2

June 19 Atlanta United 1, D.C. United 0

June 22 Atlanta United 1, St. Louis 1

June 29 Atlanta United 2, Toronto 1

July 3 New England 2, Atlanta United 1

July 6 Real Salt Lake 5, Atlanta United 2

July 9 vs. Indy Eleven 2, Atlanta United 1

July 13 Montreal 1, Atlanta United 0

July 17 Atlanta United 2, NYCFC 2

July 20 Atlanta United 2, Columbus 1

July 26 D.C. United 3 (6), Atlanta United 3 (5) in Leagues Cup

Aug. 4 Santos Laguna 0 (5), Atlanta United 0 (3) in Leagues Cup

Aug. 24 at L.A. Galaxy, 10:30 p.m.

Aug. 31 at Charlotte, 7:30 p.m.

Sept. 14 vs. Nashville, 7:30 p.m.

Sept. 18 vs. Miami, 7:30 p.m.

Sept. 21 at Red Bulls, 7:30 p.m.

Sept. 28 at Philadelphia, 7:30 p.m.

Oct. 2 vs. Montreal, 7:30 p.m.

Oct. 5 vs. Red Bulls, 7:30 p.m.

Oct. 19 at Orlando, 6 p.m.