Boxcars, also known as midnight, is the outcome of rolling the dice in a game of craps and getting a six on each die. The pair of six pips resembles a pair of boxcars on a freight train. In modern parlance, it refers to such a roll in any game involving six-sided dice which are marked with pips. The probability of this roll is 1 in 36, or about 2.8%. This is the same probability as for rolling any other specific ordered pair with the dice.
Rolling two six-sided dice 25 times gives a probability of 0.505532 that at least once, boxcars will appear.
One of the four bets on any common craps table. It is on the 'high side' of the horn bet in which the player can either bet on the 2, 3, 11, or 12. When the player throws in money and calls out "midnight" or "boxcars", the dealer will usually 'book' the bet as a bet on the 12, so as to not create confusion.