Pokémon Ultra Sun is a Generation 7 game, part of the same generation as Pokémon Sun, Moon, and Ultra Moon. It sits in the seventh generation of main-series Pokémon games, which ran on the Nintendo 3DS family of systems.
That answer holds no matter how you count it: by regional Pokédex, by release order, or by the games that can trade and battle with it directly. The rest of this page explains why, which games share the generation, and what that means for compatibility and for the Pokémon you can catch.
Why Ultra Sun Is Gen 7
Generation is defined by the set of games that share a compatible engine, a regional Pokédex, and direct connectivity. Ultra Sun and Ultra Moon are enhanced versions of Sun and Moon, set in the Alola region, and they use the same generation of Pokémon data. That places them in Generation 7, not Generation 8.
The generation number is not printed on the box. It comes from the order in which the main-series games were released and from which games can link with each other. Ultra Sun can trade and battle with Sun, Moon, and Ultra Moon directly, and it can receive Pokémon from the Generation 6 games through the Pokémon Bank service. It cannot link directly with Sword and Shield, which are Generation 8.
A common point of confusion is that Ultra Sun and Ultra Moon came out after Sun and Moon but before Sword and Shield. A late release inside a generation does not move a game into the next generation. Ultra Sun is still Generation 7 because it belongs to the Alola set of games, not because of its release date.
Which Games Share Generation 7
Generation 7 includes four main-series games: Pokémon Sun, Pokémon Moon, Pokémon Ultra Sun, and Pokémon Ultra Moon. All four are set in the Alola region and use the same set of Pokémon, items, and moves introduced in that generation. The Ultra versions add new Pokémon forms, a different story, and additional areas, but they remain in the same generation.
For trading and battling, the four games form one connected group. A player with Ultra Sun can trade with a player with Sun, Moon, or Ultra Moon using local wireless or the internet. They can also battle under the same rules. This direct compatibility is the practical test of whether two games are in the same generation.
Generation 7 does not include Pokémon X and Y or Omega Ruby and Alpha Sapphire, which are Generation 6. It also does not include Sword and Shield, Brilliant Diamond and Shining Pearl, or Legends: Arceus, which are later generations. If a game cannot trade directly with Ultra Sun, it is almost certainly a different generation.
Worked Example: Checking a Trade
Suppose you have a Pokémon caught in Pokémon X and want to use it in Ultra Sun. X is a Generation 6 game, so it cannot trade directly with Ultra Sun. The standard route is to transfer it forward using Pokémon Bank and the Poké Transporter. The Pokémon moves from X into Bank, then from Bank into Ultra Sun. The transfer is one way, and the Pokémon keeps its species and most of its data, though some moves and items may not carry over.
Now suppose the same Pokémon is in Pokémon Moon. Moon is Generation 7, so it can trade directly with Ultra Sun through the in-game trade features. No transfer service is needed, and the Pokémon can go back and forth as long as both games are in the same generation. The rule is simple: same generation means direct trade; different generation means a transfer service or no connection at all.
For a second example, take a Pokémon caught in Ultra Moon. It can be traded to Ultra Sun directly, because both are Generation 7. A Pokémon caught in Sword cannot be traded to Ultra Sun at all, because Sword is Generation 8 and the two generations do not connect. The generation number is the gate that decides which route you use.
What Gen 7 Means for Your Pokédex
Generation 7 introduced 81 new Pokémon species, starting at Rowlet, Litten, and Popplio and including the legendary Pokémon Solgaleo, Lunala, and Necrozma. Ultra Sun adds new forms such as Dusk Mane Necrozma and Dawn Wings Necrozma, plus the Ultra Beasts as catchable Pokémon. These are all part of the Generation 7 Pokédex and count toward the Alola regional Pokédex.
If you are completing a national Pokédex, Ultra Sun can hold Pokémon from every generation up to 7, provided they were transferred through the proper services. It cannot hold Pokémon introduced in Generation 8 or later, such as Grookey or Sprigatito, because those species did not exist in the Generation 7 data. Check the species' debut generation before planning a transfer.
The regional Pokédex in Ultra Sun lists 403 Pokémon, including the Alola forms and the island scan species. That number is the in-game checklist for the Alola region, not the full national list. A Pokémon can be in the national Pokédex without appearing in the Alola regional Pokédex, and that does not change its generation.
Version Exclusives and Version Differences
Ultra Sun and Ultra Moon share a generation but not an identical Pokémon list. Ultra Sun has version-exclusive Pokémon such as Solgaleo, Passimian, Turtonator, and Buzzwole, while Ultra Moon has Lunala, Oranguru, Drampa, and Pheromosa. These exclusives are still Generation 7 Pokémon; the version only decides which game you need to trade with to get them.
The same generation label means you can trade between Ultra Sun and Ultra Moon to complete the version-exclusive set. It does not mean the two games have the same story or the same legendary encounters. The Ultra versions also differ from Sun and Moon in the story climax and in the availability of certain forms, but all four remain Generation 7.
If you are choosing between Ultra Sun and Ultra Moon, the decision is about which exclusives and which legendary you want, not about generation. Both are Generation 7, both connect to the same trade network, and both use the same Pokémon Bank transfer route from earlier generations.
Checking a Game's Generation
To confirm a game's generation without guessing, look at three things: the region it is set in, the games it can trade with directly, and the highest-numbered Pokémon species in its data. Ultra Sun is set in Alola, trades directly with Sun, Moon, and Ultra Moon, and stops at the Generation 7 species list. Those three checks agree on Generation 7.
Release order alone is not a reliable check, because enhanced versions and remakes can appear late in a generation. A game's generation is fixed by its data and connectivity, not by the year on the box. If you are unsure, search for the game's name alongside the word "generation" and compare the result with the four-game Alola list; if it is not one of those four, it is a different generation.
One more practical note: Pokémon Bank and the Poké Transporter are the standard tools for moving Pokémon from Generation 6 and earlier into Generation 7. They are separate from the games and have their own availability rules, so check the current service status in the console's eShop or support pages before planning a large transfer. The generation answer itself does not depend on those services; only the transfer route does.