Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Unable to login into Bitbucket account


I am unable to login into my Bitbucket account since it is asking for 2FA code which is not available and recovery codes are also not available since i changed my laptop and old laptop is formatted.

I tried using "Forgot code" under 2FA section but event after clicking recovery link which gets sent to mail after 24 hours, it still asks for 2FA code.

Please help in recovering my account so that i can access my Bitbucket account asap.

Screenshot 2021-07-10 at 1.45.43 PM.png

2 answers

0 votes

Hi Sahil and welcome to the community.

Does this concern the Bitbucket account that has the same email as your community account?

Checking this account in our system, I can see that it has 2FA enabled on both the Bitbucket and also on the Atlassian account, so you'll be asked for a 2FA code twice.

Bitbucket uses Atlassian accounts (the ones for for authentication, and at the moment, it is possible to set up 2FA for both the Bitbucket account and the Atlassian account.

When you try to log in to Bitbucket, you'll first get redirected to and you'll get asked for a 2FA code for the Atlassian account. If you enter a valid code or use the recovery option, you will then get redirected to Bitbucket website, where you will be asked for a different 2FA code, which is for Bitbucket.

The email you requested for recovery the first time, was it perhaps for the Atlassian account? If so, you'll need to request another recovery email for the Bitbucket account from the page in the screenshot you provided.

Please feel free to let us know how it goes and if you need further assistance.

Kind regards,

Hi i have recovered my 2FA code, thanks for your time.

Like Theodora Boudale likes this

Hi Sahil,

That's good to hear, thank you for the update.

Please feel free to reach out if you ever need anything else!

Kind regards,

0 votes

Hi @sahil_shokeen ,


Welcome to the community. 

We can not help you in this case, as we are only end-users like you and can only answer questions. 

You'll need some support directly from Atlassian, you can reach out to them here

Hi i have recovered my 2FA code, thanks for your time.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,086 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you