Meaning of the word "But then" in English

What does "But then" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

But then

US /bʌt ðɛn/
UK /bʌt ðɛn/

Phrase

used to introduce a contrasting or qualifying statement, often implying a change of thought or a consequence

Example:
I wanted to go to the party, but then I remembered I had to work.
It seemed like a good idea at first, but then I thought about the consequences.