Are Pokémon Sun and Pokémon Moon Compatible with Pokémon Bank?
Nintendo 3DS
Yes. Pokémon Bank is a service that lets you create your own Boxes on the Internet to deposit, store, and manage your Pokémon. Players can use Pokémon Bank to move Pokémon from their older games (Pokémon X, Pokémon Omega Ruby, etc) into Pokémon Sun or Pokémon Moon.
Pokémon Sun and Pokémon Moon are compatible with Pokémon Bank ver 1.3 or higher. If you have an earlier version of Pokémon Bank, you'll need to update the application.
For additional details about Pokémon Bank, please visit pokemon.com.