Hard inquiries stay on your credit history for two years. However, the overall impact on your score generally only lasts a few months before it recovers. Soft credit inquiries never appear on your credit report.