To change your Xbox region, go to account.microsoft.com and sign in. Click your profile icon, select Your info, then click Edit profile. Scroll down to Country/Region and update it to your new region. Save the changes. Important things to know before changing region:
You can only change your region once every 3 months
Your Microsoft account balance is not transferable between regions — any existing balance stays in the original currency and may not be usable in the new region
Game Pass subscriptions and purchased content remain on your account but pricing going forward will reflect the new region
Some games and content are region locked and may become unavailable or available after a region change
Gift cards and codes must match your account region to be redeemed — always make sure your code matches your current region before purchasing