It depends on how long you've had the piercing. A new piercing can close up overnight. But one that is a few years old can take around 2 days to close up.
If you meant how long does it take your tongue to heal after just being pierced the answer is 6 - 8 weeks.