Payday loans are legal in some states and illegal in others. In states that allow this type of lending, legislators may place legal safeguards on payday loans, such as setting a maximum fee amount or loan amount caps.