Some of the consequences of lying are:
You will lose the trust of people and when you lose the trust of others, you lose your value as a person. Nobody will believe you.
If someone lies to you and you find out, you will be hurt. So, you should understand that in the same token if you tell a lie, it hurts others.
You may have to say more lies to cover up one lie.
When you lie, you feel a sense of uneasiness and dread at being caught.
When a person lies for his selfish motives, the result is rebirth in the animal kingdom
Lying has been the cause of being born dumb. All this is a punishment.
If you lie while merit karmas are unfolding then you may not be caught, but you will receive punishment for it in your next birth. In the subsequent birth, even if you speak the truth, you will be blamed for lying, hence causing you a lot of suffering.