The best time to take a protein shake is within 30 minutes after your workout for optimal muscle recovery and growth.