Generally, it can take up to 21 days. Amended returns take even longer. See What if my IRS refund is taking longer than 21 days?