As long as your finances stay the same, a Decision in Principle usually lasts from 30 to 90 days.
It’s always worth checking with your lender, as they will have different rules.
If your situation changes while you look for a home – for example you take out a loan, or your wage goes down – your Decision in Principle may not still be valid.