The maximum loan amount that can be availed under HBA is 34 months of the basic pay or the cost of the house or flat, whichever is lower.