Sun determines how quickly you can establish your defenses in Plants vs. Zombies 2. Whether you’re battling through Endless Zones, competing in Arena, or tackling difficult Penny’s Pursuit challenges, a reliable supply lets you deploy expensive attackers and reinforce your lawn without running out of resources at the worst possible moment.
The best approach combines efficient Sun-producing plants, defensive setups that hold zombies back, and abilities that generate resources in bursts. Although no ordinary setup guarantees truly infinite Sun without limits, you can create a high-yield farm that keeps generating resources while you focus on other tasks.
Core Principles of Sun Farming
A productive Sun farm needs to balance three elements. Investing in only one can leave you with plenty of resources but no reliable way to survive incoming waves.
- Efficient Sun production: Use plants that generate substantial amounts of Sun relative to their cost and the space they occupy.
- Crowd control and stalling: Slow zombies or block their progress so your producers have time to generate resources.
- Reliable defense: Prevent enemies from reaching your plants while keeping your attacking plants from accidentally eliminating the final zombie too early.
The third point is especially important for stall-based farming. A long-lasting defensive arrangement can extend a wave, but it isn’t necessarily permanent. Defensive plants and barriers can eventually be destroyed, so check your setup regularly.
Best Plants for Building a Sun Farm
Different Sun producers work best in different situations. Some provide strong returns immediately, while others become more efficient as they grow or receive support from neighboring plants.
| PLANT | SUN COST | PRODUCTION | MAIN ADVANTAGE |
| Primal Sunflower | 75 | 75 Sun per production cycle | Produces large Sun pickups, effective for general farming |
| Moonflower | 50 | 25–100 Sun per cycle, depending on nearby Shadow plants | Combines Sun production with support for Shadow plants |
| Sun-shroom | 25 | 25, 50, then 75 Sun as it grows | Cheap to establish and increasingly productive over time |
| Solar Sage | 0 | Generates Sun through its effects on zombies | Converts nearby zombies into harmless, Sun-producing enemies that leave the lawn |
| Twin Sunflower | 125 | 100 Sun per production cycle | Produces two regular Sun units at once, useful for sustained farming |
Remember that plant levels can change their performance, so treat these figures as baseline values rather than guaranteed output for every upgraded plant.
Which Sun Producer Should You Choose?
- Primal Sunflower is a strong general-purpose option when you need substantial Sun without waiting for a plant to grow through multiple stages.
- Moonflower rewards careful placement. It produces more Sun when surrounded by other Shadow plants, and its aura supports nearby Shadow plants. A well-arranged cluster can contribute to both your economy and your defense.
- Sun-shroom is ideal when you want to establish your economy cheaply at the start of a level. Its output improves as it matures, although it takes time to reach its most productive stage.
- Solar Sage offers a different type of resource generation. Instead of functioning like a conventional sunflower, it affects nearby zombies and causes them to leave Sun behind as they move away. It can provide a useful burst of income, but the result depends on having suitable zombies available.
- Twin Sunflower is a dependable choice for longer encounters where you have sufficient room and time to establish a stable economy.
AFK and High-Yield Sun Farming Setups
The following arrangements focus on three goals: extending a wave, maximizing Moonflower production, and generating a large amount of Sun early in a level.
Setup 1: The Long-Lasting Stall
- Best for: Building a resource reserve in suitable levels with manageable enemy pressure.
This strategy works by keeping a surviving zombie occupied while your Sun producers continue generating resources behind a defensive line. It is a relatively simple setup, but its success depends on your barrier lasting long enough. Plants to bring:
- Primal Sunflower or Sun-shroom
- Wall-nut or Infi-nut
- Iceberg Lettuce or Stallia
- Potato Mine for early protection
How to set it up:
- Plant two columns of your chosen Sun producer in the rear of the lawn. Sun-shroom is a low-cost choice, while Primal Sunflower provides larger Sun pickups.
- Use Iceberg Lettuce or Stallia to slow approaching enemies while you build your initial economy.
- Establish a defensive barrier farther forward, using Wall-nut or Infi-nut to prevent a zombie from advancing toward your producers.
- If you use Infi-nut, activate its Plant Food ability when appropriate. The resulting force field blocks zombies across the lanes, buying additional time for your Sun producers.
- Avoid placing unnecessary damage-dealing plants in the lane where you intend to keep a zombie stalled.
The ideal result is a prolonged wave in which your producers continue working while the remaining enemy makes little progress. However, neither Wall-nut nor Infi-nut’s force field is indestructible. Some enemies can bypass or break through defenses, so inspect the lawn rather than assuming the stall will last indefinitely.
Efficiency tip: Keep collecting the Sun your plants generate. A long stall is useful only if you actually gather enough resources to spend later.
Setup 2: The Moonflower Grid
- Best for: Long levels, Shadow-focused defenses, and players who want to maximize production from a compact arrangement.
Moonflower becomes more productive when neighboring Shadow plants surround it. Since Moonflowers also count as Shadow plants, arranging them in a dense formation can improve their Sun output while strengthening nearby Shadow attackers. A useful starting layout is:
| REAR OF LAWN | MIDDLE OF LAWN | FRONT OF LAWN |
| Moonflower | Moonflower | Defensive plant |
| Moonflower | Moonflower | Shadow attacker |
| Moonflower | Moonflower | Defensive plant |
| Moonflower | Moonflower | Shadow attacker |
| Moonflower | Moonflower | Defensive plant |
Use this arrangement as a starting point rather than a rigid formation. The exact placement should account for your available planting spaces, incoming zombie lanes, and the other plants you need to support.
How to build the grid:
- Fill the rear columns with Moonflowers, arranging them so that each one has several neighboring Shadow plants.
- Check that the Moonflowers are close enough to benefit from their surrounding Shadow plants.
- Place your preferred Shadow attackers where the Moonflower aura can support them.
- Add defensive plants toward the front to delay the zombies before they reach your main formation.
- Collect the generated Sun regularly and use it to expand your defense as the level progresses.
In terms of defensive plants, Chard Guard can knock enemies backward, creating breathing room for your setup. Reinforce-mint is another option that can help. The main advantage of this arrangement is efficiency: Moonflowers can generate resources while also contributing to a Shadow-based defense, allowing you to combine economic and offensive roles.
Setup 3: Solar Sage and Gold Bloom for a Fast Start
- Best for: Levels where you need a quick injection of Sun before building your main formation.
This setup combines Gold Bloom’s immediate Sun production with Solar Sage’s ability to turn nearby zombies into sources of additional resources.
How to use it:
- Plant Gold Bloom near the beginning of the level to receive an immediate burst of Sun.
- Place Solar Sage where it can affect an approaching zombie.
- Allow Solar Sage to transform a suitable target. The resulting Enlightened Zombie moves away from the house, cannot attack normally, and leaves a trail of Sun as it travels.
- Use the initial resources to establish several Primal Sunflowers or another suitable Sun-producing formation.
- Add defensive plants as necessary so the remaining zombies cannot reach your economy.
Gold Bloom helps you get started quickly, while Solar Sage can produce additional Sun through its interaction with zombies. This makes the combination useful when the early seconds of a level determine how quickly you can build a strong lawn. However, Solar Sage is not a conventional sunflower that produces resources indefinitely on its own. Its effect depends on the targets available, and you still need to collect the resulting Sun.
Pro Tips for Getting More Sun
Don’t Rely on Automatic Sun Collection
Sun pickups do not normally collect themselves and add their value to your total. They can disappear if left untouched for too long, so an unattended farm may waste much of its production.
For a practical semi-AFK strategy, establish a stable defense first and return periodically to collect Sun and inspect the lawn. You can also look for supported accessibility or gameplay options on your platform, but don’t assume that a standard in-game setting provides automatic collection.
Take Advantage of Enlighten-mint
Enlighten-mint is especially useful for builds built around Sun production. When planted, it provides an immediate Sun bonus and temporarily increases the output of compatible plants from the Enlighten-mint family.
Plants such as Sunflower, Twin Sunflower, Sun-shroom, Primal Sunflower, and Gold Bloom can benefit from this family effect. The boost is temporary, so activate it when you have enough producers on the lawn to make the effect worthwhile.
Use Plant Food Strategically
Plant Food can produce large amounts of Sun when used on the right plants. Primal Sunflower and Sun-shroom are particularly useful options when you need a sudden increase in resources instead of waiting for their normal production cycles.
Save these activations for moments when the extra Sun will help you establish a major part of your defense or afford an expensive attacker. If a long-term setup is already stable, there may be little benefit in spending Plant Food simply because it is available.
Make Use of Shovel Refunds
Some shovel-refund upgrades return a portion of a plant’s cost when you remove it. When such an upgrade is available, you can recover part of your investment by digging up Sun producers that are no longer needed.
For example, once you have built up a substantial resource reserve, you might remove selected producers to make room for heavy attackers such as Winter Melon or Banana Launcher. Check the refund rules and your available resources before doing this, since you may not recover the full cost of every plant.
Stop Investing When Your Economy Is Strong Enough
More Sun is not always better. A lawn filled with producers can struggle if there isn’t enough room for defensive and offensive plants. Once your income comfortably covers your planned defenses, replace surplus producers with attackers, control plants, or barriers that help you survive tougher waves. The goal is to produce enough Sun to support your strategy, not to maximize the number displayed at the expense of actually completing the level.

The most reliable Sun-farming strategy depends on the type of level you’re tackling. For extended farming, combine an efficient economy with a durable stall and collect your resources regularly. PvZ 2 doesn’t offer a standard, fully unattended infinite-Sun loop, but a carefully managed setup can generate a large reserve while keeping your lawn under control.
Looking for more game strategies and guides? Explore our full collection of tips & game guides to level up your gameplay!


