Gems FarmingUpdated: 7/10/2026

Universal Tower Defense Z AFK Gem Farming — Passive 80K+ Gems Per Hour Overnight

Complete UTDZ AFK Gem farming guide. Best Infinite Mode team setup, overnight strategies, passive income calculations, and how to earn 640K+ Gems while sleeping.

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:

DurationGems EarnedReroll CubesTeam RequiredBest For
1 hour80K5-10Basic sustainable teamShort breaks
4 hours320K20-40Mid-game teamAfternoon break
8 hours (overnight)640K40-80Strong sustainable teamOvernight sleep
12 hours960K60-120Fully etherealized teamLong AFK

Monthly AFK Income Projection

Daily AFK DurationMonthly GemsFeatured Pity Pulls
4 hours/day9.6M~2
8 hours/day (overnight)19.2M~4
12 hours/day28.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:

SlotUnitTraitRelic SetWhy
1Joyful CaptainSacred or RulerFused WarriorAoE wave clearing — must survive
2Gold FarmerFortunateFortune+20% passive income
3Spirit BufferAstralGuardianTeam buff maintenance
4Ancient MageSacredFused WarriorLong-range backup DPS
5Pirate KingProdigyFused WarriorSingle-target wave cleanup
6Shield GuardianSacredGuardianSurvivability padding

Critical Components Explained

ComponentWhy It's CriticalWithout It
AoE DPSClears swarm waves efficientlySingle-target DPS falls behind in later waves
Farm (Fortunate)+20% income = 16K extra Gems/hrMissing 128K Gems per overnight session
Support (Astral)Buff duration extends team survivabilityDPS drops off without sustained buffs
Tank/FlexAbsorbs damage from scaling enemiesGlass 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:

TestPass CriteriaFix If Failed
30-min survivalAll units alive at 30 minAdd Support or Tank unit
Wave 50+ clearTeam reaches wave 50+Upgrade DPS or add more sustain
Farm incomeGems ticking up consistentlyEnsure Farm unit has Fortunate trait
No manual interventionNo clicks needed during testAdjust placement or team

Common AFK Failure Points

Failure PointWaveCauseFix
Wave 20-30Mid-gameDPS too lowEvolve units or add stronger DPS
Wave 50-70ScalingNo Support buffsAdd Astral Support unit
Wave 80-100EndgameEnemy scaling overwhelmsEtherealize primary DPS
RandomAnyGlass cannon unit diesReplace with tanky unit

AFK vs Active Farming Comparison

MethodGems/HourEffortTotal Daily IncomeBest For
Story Mode (Ch.5, active)450KActive900K (2hr)During play sessions
AFK Infinite (8hr overnight)80KPassive640KWhile sleeping
Combined dailyMixed1.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

PlatformStabilityPowerTips
PC★★★★★Always plugged inBest for overnight AFK
Mobile (iOS)★★★Battery drainsKeep plugged in, disable auto-lock
Mobile (Android)★★★Battery variesUse "Stay Awake" in developer options
Xbox★★★★Always poweredGood 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 RangeEnemy DifficultyTeam Power NeededGem Rate
1-20EasyAny evolved team70K/hr
21-50NormalS-tier + traits80K/hr
51-100HardEtherealized S-tier85K/hr
101-200Very HardFully built team90K/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:

MethodGems/HourEffortLevel RequiredTeam RequiredSustainability
Story Mode (speed run)300K-400KActiveAnyAoE DPS teamInfinitely repeatable
Story Mode (first clear)200K-300KActiveAnyAny teamOne-time per chapter
Challenge Runs150K-200KActiveLevel 10+A-tier team3 per day
Raid Runs100K-150KActiveLevel 10+Co-op teamLimited by Raid tickets
Infinite AFK60K-100KPassiveLevel 5+AFK team24/7 sustainable
Daily Quests120K (15 min)ActiveAnyAny teamDaily reset
Weekly Quests100K (30 min)ActiveAnyAny teamWeekly reset
Codes210K+ (instant)InstantAnyNoneLimited availability

AFK Farming Detailed Setup

SetupGems/HourMonthly GemsSetup CostNotes
Basic AFK (1 DPS)60K4.3M (8hr/day)FreeMinimum viable
+ Farm (Fortunate)72K5.2M100 Rerolls+20% income
+ Support80K5.8MFreeBuff increases clear speed
+ 2nd Farm96K6.9M200 Rerolls+40% income
Full optimized100K+7.2M+Full investmentMaximum 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:

PrioritySpend OnGem CostExpected ReturnROI Rating
1Featured banner pity (S-tier)500-750/pullGuaranteed S-tier unit★★★★★
2Evolution materials for S-tier100K-700K total+200% base stats★★★★★
3Unit slot expansion500-1000/slotMore team flexibility★★★★
4Standard banner (A-tier)250/pullA-tier units★★★
5CosmeticsVariesVisual only

Gem Spending Mistakes to Avoid

MistakeWhat Players DoCorrect ApproachGems Wasted
Random standard pullsPull standard banner hoping for S-tierSave for featured banner pity100K+ Gems
Buying cosmetics earlySpend Gems on skins before building teamOnly buy cosmetics after team is builtVariable
Skipping Farm investmentNot investing in Farm unit FortunateFortunate Farm increases all future income3.8M+/month
Over-spending on EvolutionEvolving C-tier unitsOnly evolve S/A-tier units200K+ per wasted evolution
Ignoring code rewardsNot redeeming codes before spendingAlways redeem free codes first210K+ Gems

Weekly and Monthly Gem Income Calculator

SourceDaily IncomeWeekly IncomeMonthly Income
Story Mode (1hr/day)300K2.1M9M
Daily Quests (15min)30K210K900K
Challenges (3/day)50K350K1.5M
AFK Infinite (8hr)80K560K2.4M
Codes (average)~7K~50K200K+
Weekly Quests50K200K
Total467K3.32M14.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.