AFK Gem farming in Infinite Mode is the most time-efficient farming method in Universal Tower Defense Z because it generates passive income while you are away from the game. With a properly built team, you can earn 80K+ Gems per hour — 640K+ over an 8-hour overnight session — without pressing a single button. This guide covers the best AFK team composition, sustainability requirements, overnight strategies, and how AFK farming complements your active farming routine.
AFK Income Rates
The Gem rate in Infinite Mode is approximately 80K Gems per hour, scaling slightly with wave progression:
| Duration | Gems Earned | Reroll Cubes | Team Required | Best For |
|---|---|---|---|---|
| 1 hour | 80K | 5-10 | Basic sustainable team | Short breaks |
| 4 hours | 320K | 20-40 | Mid-game team | Afternoon break |
| 8 hours (overnight) | 640K | 40-80 | Strong sustainable team | Overnight sleep |
| 12 hours | 960K | 60-120 | Fully etherealized team | Long AFK |
Monthly AFK Income Projection
| Daily AFK Duration | Monthly Gems | Featured Pity Pulls |
|---|---|---|
| 4 hours/day | 9.6M | ~2 |
| 8 hours/day (overnight) | 19.2M | ~4 |
| 12 hours/day | 28.8M | ~6 |
Overnight AFK farming alone can fund 4 featured pity pulls per month — enough to consistently obtain S-tier and Legendary units without any active farming. Combined with active Story Mode farming, free-to-play players can afford 6-8 pity pulls monthly.
Best AFK Team Composition
The key to successful AFK farming is sustainability — your team must survive indefinitely without manual intervention:
| Slot | Unit | Trait | Relic Set | Why |
|---|---|---|---|---|
| 1 | Joyful Captain | Sacred or Ruler | Fused Warrior | AoE wave clearing — must survive |
| 2 | Gold Farmer | Fortunate | Fortune | +20% passive income |
| 3 | Spirit Buffer | Astral | Guardian | Team buff maintenance |
| 4 | Ancient Mage | Sacred | Fused Warrior | Long-range backup DPS |
| 5 | Pirate King | Prodigy | Fused Warrior | Single-target wave cleanup |
| 6 | Shield Guardian | Sacred | Guardian | Survivability padding |
Critical Components Explained
| Component | Why It's Critical | Without It |
|---|---|---|
| AoE DPS | Clears swarm waves efficiently | Single-target DPS falls behind in later waves |
| Farm (Fortunate) | +20% income = 16K extra Gems/hr | Missing 128K Gems per overnight session |
| Support (Astral) | Buff duration extends team survivability | DPS drops off without sustained buffs |
| Tank/Flex | Absorbs damage from scaling enemies | Glass cannon teams die in wave 50+ |
The most common AFK failure is bringing a pure DPS team without a Support unit. DPS output drops as enemies scale, but a Support unit maintains team damage through buffs. See our team building guide for sustainable team principles.
AFK Sustainability Test
Before leaving your team overnight, run a 30-minute sustainability test:
| Test | Pass Criteria | Fix If Failed |
|---|---|---|
| 30-min survival | All units alive at 30 min | Add Support or Tank unit |
| Wave 50+ clear | Team reaches wave 50+ | Upgrade DPS or add more sustain |
| Farm income | Gems ticking up consistently | Ensure Farm unit has Fortunate trait |
| No manual intervention | No clicks needed during test | Adjust placement or team |
Common AFK Failure Points
| Failure Point | Wave | Cause | Fix |
|---|---|---|---|
| Wave 20-30 | Mid-game | DPS too low | Evolve units or add stronger DPS |
| Wave 50-70 | Scaling | No Support buffs | Add Astral Support unit |
| Wave 80-100 | Endgame | Enemy scaling overwhelms | Etherealize primary DPS |
| Random | Any | Glass cannon unit dies | Replace with tanky unit |
AFK vs Active Farming Comparison
| Method | Gems/Hour | Effort | Total Daily Income | Best For |
|---|---|---|---|---|
| Story Mode (Ch.5, active) | 450K | Active | 900K (2hr) | During play sessions |
| AFK Infinite (8hr overnight) | 80K | Passive | 640K | While sleeping |
| Combined daily | — | Mixed | 1.54M+ | Optimal strategy |
Active farming provides 5.6x more Gems per hour, but AFK farming fills the hours when you cannot actively play. The combined daily income of 1.54M+ Gems is significantly more than either method alone. See our complete gems guide for the full daily routine.
AFK Platform Considerations
| Platform | Stability | Power | Tips |
|---|---|---|---|
| PC | ★★★★★ | Always plugged in | Best for overnight AFK |
| Mobile (iOS) | ★★★ | Battery drains | Keep plugged in, disable auto-lock |
| Mobile (Android) | ★★★ | Battery varies | Use "Stay Awake" in developer options |
| Xbox | ★★★★ | Always powered | Good alternative for long sessions |
PC is the most stable platform for overnight AFK farming. Mobile users must ensure the device stays powered and the screen stays on. Some Roblox clients disconnect after inactivity — test your setup before relying on it overnight.
Infinite Mode Wave Progression
| Wave Range | Enemy Difficulty | Team Power Needed | Gem Rate |
|---|---|---|---|
| 1-20 | Easy | Any evolved team | 70K/hr |
| 21-50 | Normal | S-tier + traits | 80K/hr |
| 51-100 | Hard | Etherealized S-tier | 85K/hr |
| 101-200 | Very Hard | Fully built team | 90K/hr |
The Gem rate increases slightly with wave progression, but the difference is modest. Most of your income comes from the steady 80K/hr base rate regardless of how far you progress.
Gems per Hour — Detailed Efficiency Comparison
Every farming method in UTDZ has different efficiency, effort requirements, and accessibility. This detailed comparison helps you choose the best method for your situation:
| Method | Gems/Hour | Effort | Level Required | Team Required | Sustainability |
|---|---|---|---|---|---|
| Story Mode (speed run) | 300K-400K | Active | Any | AoE DPS team | Infinitely repeatable |
| Story Mode (first clear) | 200K-300K | Active | Any | Any team | One-time per chapter |
| Challenge Runs | 150K-200K | Active | Level 10+ | A-tier team | 3 per day |
| Raid Runs | 100K-150K | Active | Level 10+ | Co-op team | Limited by Raid tickets |
| Infinite AFK | 60K-100K | Passive | Level 5+ | AFK team | 24/7 sustainable |
| Daily Quests | 120K (15 min) | Active | Any | Any team | Daily reset |
| Weekly Quests | 100K (30 min) | Active | Any | Any team | Weekly reset |
| Codes | 210K+ (instant) | Instant | Any | None | Limited availability |
AFK Farming Detailed Setup
| Setup | Gems/Hour | Monthly Gems | Setup Cost | Notes |
|---|---|---|---|---|
| Basic AFK (1 DPS) | 60K | 4.3M (8hr/day) | Free | Minimum viable |
| + Farm (Fortunate) | 72K | 5.2M | 100 Rerolls | +20% income |
| + Support | 80K | 5.8M | Free | Buff increases clear speed |
| + 2nd Farm | 96K | 6.9M | 200 Rerolls | +40% income |
| Full optimized | 100K+ | 7.2M+ | Full investment | Maximum passive income |
Gem Spending Priority Guide
How you spend Gems is just as important as how you earn them. Here is the definitive spending priority:
| Priority | Spend On | Gem Cost | Expected Return | ROI Rating |
|---|---|---|---|---|
| 1 | Featured banner pity (S-tier) | 500-750/pull | Guaranteed S-tier unit | ★★★★★ |
| 2 | Evolution materials for S-tier | 100K-700K total | +200% base stats | ★★★★★ |
| 3 | Unit slot expansion | 500-1000/slot | More team flexibility | ★★★★ |
| 4 | Standard banner (A-tier) | 250/pull | A-tier units | ★★★ |
| 5 | Cosmetics | Varies | Visual only | ★ |
Gem Spending Mistakes to Avoid
| Mistake | What Players Do | Correct Approach | Gems Wasted |
|---|---|---|---|
| Random standard pulls | Pull standard banner hoping for S-tier | Save for featured banner pity | 100K+ Gems |
| Buying cosmetics early | Spend Gems on skins before building team | Only buy cosmetics after team is built | Variable |
| Skipping Farm investment | Not investing in Farm unit Fortunate | Fortunate Farm increases all future income | 3.8M+/month |
| Over-spending on Evolution | Evolving C-tier units | Only evolve S/A-tier units | 200K+ per wasted evolution |
| Ignoring code rewards | Not redeeming codes before spending | Always redeem free codes first | 210K+ Gems |
Weekly and Monthly Gem Income Calculator
| Source | Daily Income | Weekly Income | Monthly Income |
|---|---|---|---|
| Story Mode (1hr/day) | 300K | 2.1M | 9M |
| Daily Quests (15min) | 30K | 210K | 900K |
| Challenges (3/day) | 50K | 350K | 1.5M |
| AFK Infinite (8hr) | 80K | 560K | 2.4M |
| Codes (average) | ~7K | ~50K | 200K+ |
| Weekly Quests | — | 50K | 200K |
| Total | 467K | 3.32M | 14.2M+ |
With a Fortunate Farm unit, all of these figures increase by 20%, adding another 2.8M+ Gems per month. This demonstrates why the Fortunate trait is the single most impactful early-game investment.
Frequently Asked Questions
Can I AFK on mobile overnight? Yes, but PC is more stable. Keep your mobile device plugged in and disable auto-lock. Test your setup with a 30-minute session before committing to overnight farming.
What if my team dies during AFK? You keep all Gems earned up to the point of failure. The run ends automatically. To prevent this, ensure your team passes the 30-minute sustainability test before going AFK.
Does the Fortunate trait stack with multiple Farm units? No — Fortunate provides a flat +20% income bonus per Farm unit, but the effect caps at +20% total. Bringing two Farm units does not double the income. Use one Farm and fill the other slot with more DPS or Support.
Should I use AFK or active farming? Both. Use active Story Mode farming during your play sessions (2hr/day = 900K Gems), then switch to AFK Infinite Mode overnight (8hr = 640K Gems). The combined approach maximizes your total daily Gem income. See our daily routine guide for the complete schedule.