While it is possible to get a mortgage with 5% deposit, non-UK citizens will find it more challenging. You will be in a stronger position the longer you have lived in the UK.