Gym

Gyms are points of interest found throughout the world where Trainers can battle the Pokémon of rival teams. Trainers from opposing teams battle for control of the Gyms. Each Gym can have up to six Pokémon assigned to defend it. Trainers from an opposing team can challenge the defenders with six of their own Pokémon, in hopes of claiming the Gym for their own team.

Details
A Pokémon's ability to be successful in battle is primarily influenced by its Hit Points (HP) and Combat Power (CP).

Every Pokémon on a Gym has motivation, a measurement of the Pokémon's desire to defend the location. Trainers from opposing teams battle to reduce the motivation of the Pokémon on the Gym. Pokémon gradually lose motivation over time and by losing battles against opposing team members. As a Pokémon loses motivation, its CP will temporarily decrease, making it weaker in battle. When a Pokémon's motivation reaches zero, it leaves the Gym and returns to its Trainer.

For Gyms controlled by a team, their goal is to keep motivation up by giving the Pokémon treats. For Gyms controlled by opposing teams, their goal is to gain control of the Gym by depleting the motivation of opposing team's Pokémon. Each trainers can leave only one Pokémon to defend each of their Gyms.


 * Blue Gyms are controlled by Team Mystic.
 * Red Gyms are controlled by Team Valor.
 * Yellow Gyms are controlled by Team Instinct.
 * Grey Gyms are neutral and not controlled by any Team.

Battling rival Gyms
A Gym controlled by a rival team can be claimed by defeating the Pokémon on the Gym. Each time a rival Pokémon is defeated, its motivation is reduced. When a Pokémon's motivation reaches zero, it will leave the Gym and return to its Trainer. When all the Pokémon leave the Gym, the Gym becomes open for an opposing team to claim.

For Gyms with more powerful Pokémon, working with other Trainers is more effective. Gyms can be challenged by multiple Trainers at the same time. Trainers from two teams can even come together to take down a Gym controlled by a third team.

When battling Pokémon, Pokémon are battled in the order they were assigned to the Gym; the Pokémon on the Gym for the longest time will battle first.

Claiming an open Gym
Open Gyms are available for Trainers of any team to take. Teams are able to assign up to 6 Pokémon to a Gym, but a single Trainer can only assign one Pokémon to the Gym. Only one Pokémon of a single species can be assigned to a Gym at one time. So if there's a Pikachu assigned to a Gym, another Trainer may not place their Pikachu in the Gym.

Feeding Pokémon at friendly Gyms
Friendly Gyms can be reinforced by giving Berries to the Pokémon defending it, increasing the Pokémon's motivation and making it harder for rival teams to capture the location.

Berries can be given to any Pokémon on Gyms controlled by a Trainer's team. Any kind of Berry can be given to a Pokémon - Golden Razz Berries, Razz Berries, Nanab Berries, and Pinap Berries. All Berries provide the same increase in motivation, with the exception of the Golden Razz Berry, which fully restores motivation. In addition to keeping the defending Pokémon happy and strong for battle, Stardust and XP can be earned for giving Berries to Pokémon defending Gyms. A Trainer may feed up to ten berries per Pokémon before they are subjected to a cooldown.

Earning the defender bonus
Up to 50 free PokéCoins can be earned in a day for keeping Pokémon in Gyms. The longer the Pokémon stay on the Gym, the more PokéCoins will be earned. Trainers should give Pokémon treats often to keep them on the Gym and maximize the PokéCoins they'll earn. When a Pokémon leaves the Gym, it will return to its Trainer's collection bringing back PokéCoins with it. A notification will be received with the amount of PokéCoins earned when the Pokémon returns to its Trainer.

PokéCoins are only redeemed after the Pokémon returns from the Gym.

Collecting Gym Badges
As a Trainer interacts more and more with a Gym - through battling in the Gym, defending the Gym for certain periods of time, or by giving Pokémon treats - they'll receive recognition in the form of a Badge. Badges have four tiers: Basic, Bronze, Silver, and Gold. Trainers can unlock new tiers as they interact more with the Gyms. As a reward frequent interactions with a Gym, higher-level badges will award additional bonus items when spinning the Photo Disc.

Raid Battles
When a Raid Boss appears atop a Gym, Trainers may participate in a Raid Battle in order to defeat it and receive special items and experience.

Collecting items
Items such as Poké Balls and Potions can be collected from Gyms by spinning the Photo Disc. The Photo Disc can still be spun while a Raid Boss occupies a gym. Once a Raid Boss is battled, the Gym can no longer be interacted with until the Raid Battle timer has expired.