Because inflammation slows down the immune system, diets consisting of anti-inflammatory foods can boost your immune system. An anti-inflammatory diet includes foods low in saturated fats found and high in omega-3 fats found in foods like salmon and walnuts. Foods high in antioxidants, like broccoli and spinach, can also help the immune system by limiting oxidation, a biological process that can damage cells.