Yes, some types of marigolds are effective at keeping away mosquitoes. This is one of the reasons they make a great container plant for your deck or patio. If you eat out there, then surrounding your table with potted marigolds may help you relax and enjoy your outdoor meals without becoming a meal to mosquitoes yourself.