From the Super Mario Wiki
 Super Mario series
Coin blocks have appeared in nearly every Super Mario game, debuting in Super Mario Bros. For blocks that contain multiple coins, in most games, there is a time limit for how long it will continue to give the player coins instead of actually having a set number of coins. If the player strikes a coin block fast enough, they can get 8 coins, usually the most coins a player can get from a coin block; however, quite a few games make it possible to obtain more. Super Mario Bros. Deluxe's Challenge Mode has some Coin Blocks release Red Coins when struck fast enough. In New Super Mario Bros., striking a Coin Block enough times (at least 11) will produce a Super Mushroom. In New Super Mario Bros. Wii and New Super Mario Bros. U if the player hits a Coin Block enough times, five Coins will fly out before the Coin Block turns into a Block.
Both ? Block and Brick Block-style Coin Blocks appear in Super Mario 3D Land. Also appearing are rectangular blocks. Usually Mario gets three coins from these; but on rare occasion, Mario may find a rectangular coin block, he can hit these multiple times, allowing Mario to get three times more coins then an average coin block would give him. Flying Coin Blocks, flying question blocks that give multiple coins, appear as well. Super Mario 3D Land also has coin blocks that shoot coins onto the ground.
Super Mario 3D Land also features coin blocks that Mario can wear over his body, called Question Boxes. These allow Mario to collect infinite coins when walking while wearing it. Like the Propeller Box, the block is lost once the player finishes the level or is injured, but is rewarded with an extra life if brought to the Flagpole.
In New Super Mario Bros. 2, when a normal Coin Block is hit at least 10 times fast enough, it turns into a Gold Block that Mario or Luigi can wear, producing coins for the duration that it remains on the character's head.
 Paper Mario series
 Paper Mario
Coin Blocks appear in Paper Mario, where they give Mario many coins if the block is hit fast enough.
 Paper Mario: The Thousand-Year Door
Coin Blocks in Paper Mario: The Thousand-Year Door have the same appearance as they do in Paper Mario.
 Super Paper Mario
 Mario Party DS
In Mario Party DS, if any character lands on a Space with a Coin Block, a block will appear, and the character will have to hit the block to see how many coins can come out of it in five or ten seconds.
 Other Appearances