have the devil to pay
To encounter a huge amount of trouble, typically as a result of some particular thing happening (or not). You'll have the devil to pay if they catch us sneaking out this late at night! I just worry that we'll have the devil to pay if he gets elected president.
have the devil to pay
and have hell to payInf. to have a great deal of trouble. (Use hell with caution.) If you cheat on your income taxes, you'll have the devil to pay. I came home after three in the morning and had hell to pay.