A hard inquiry occurs when you apply for credit and the lender pulls your credit scores as part of the application process. Credit reports include records of all hard inquiries for up to 2 years. Unlike soft inquiries, hard inquiries really do have an overall effect on your FICO scores.