The first recorded use of interest was about 4,000 years ago in the Middle East. The Code of Hammurabi prescribed limits on the amount of interest that could be charged for debt.