You must have received your bankruptcy discharge at least two years and one day prior, if you want to qualify for a mortgage with traditional prime mortgage lenders. If you want to opt for a private mortgage, you may get it sooner. However, this would likely come with a relatively higher interest rate.