The best time to visit Portugal is in the summer months from June to September, though you can visit the country all year round.
If you visit between February and April the weather is very pleasant and you can experience the Easter festivals and Carnival.