Do your Pokemon gain experience when you catch Pokemon?

In Pokemon Generations 1-5 you do not gain experience from catching, however in Pokemon Generations 6+ (X and Y, and Omega Ruby and Alpha Sapphire), You do indeed gain Exp From catching Pokemon


No, you only get experience points for opposing Pokemon that faint in battle.


In the 6th Generation of games (X/Y and ORAS), you do gain a (smaller) amount of experience from catching.

In Generation VI, experience can also be obtained after catching a wild Pokémon.

- Bulbapedia


Your Pokemon get experience only if you defeat the wild Pokemon or a trainer's Pokemon.