High School Of The Dead: Rei carries a rifle with a knife bayonet attached, and uses that as her primary weapon. During the mall arc, Kouta jury-rigs a spike bayonet for Takashi's shotgun from some bicycle parts, but warns him that it will probably break easily. And sure enough, It Only Works Once.
Father Anderson in Hellsing uses unlimited supplies of blessed bayonets as weapons.
Gunslinger Girl: Triela has one either attached to her Winchester 1897 Trench Gun or sheathed at her waist (with her size making it a virtual sword).
Various mobile suits from the Gundam metaseries use bayonets, sometimes solid and sometimes beam, and occasionally removable to serve as an extra melee weapon. Some MS (such as the Zeta Gundam) can generate a beam blade from the barrel of their rifles, saving on space. A unique example is the Gundam GP01 from Gundam 0083, which has a beam rifle with a "beam jitte", essentially just a small beam blade generator mounted beneath the barrel, allowing it to block enemy beam sabers without having to draw its own.
Bonvi has frequently used bayonets for black comedy in his comic Sturmtruppen. The most egregious example is given by "Air-Headed Franz". When he's introduced, he waves the gun while saying "But don't ask me why (they call him Air-Headed)" and stabs a nearby soldier in the eye. They eventually sign a petition for forcing him to remove the thing from his rifle.
Basically any period film that has firearms features this trope. It'd be easier to list only the unusual examples.
Used multiple times in Gods and Generals, which shouldn't be surprising given the time period. Stonewall Jackson calls for bayonets at Manassas, then during the flanking march to Chancellorsville threatens to have stragglers bayoneted.
In the 1632 series, as it's still the era of pike and shot (see under Real Life below) down-timers are initially sceptical about the usefulness of bayonets. There is a conversation with a Scottish mercenary in which he's eventually persuaded that 'that wee knife' becomes more useful in battle than dedicated pikemen, because faster-reloading firearms changes the dynamics of a battlefield.
In Gate, Shino Kuribayashi uses the bayonet to great effect against various enemies from the far side of a gate that connects Tokyo to a standard-issue medieval Europe-ish fantasy setting. In her hands, it's almost as effective as shooting them.
Live Action TV
Dad's Army: Corporal Jones was always advocating the use of the bayonet - see the page quote.
Playedfor Laughs when they tried to adapt his van (working as a makeshift armoured car) to run on literal gas, stored in a bag attached the roof. And the order was given to point the guns upwards through the openings in said roof...
Deadliest Warrior: As attachments for the musket of the musketeer and the AK-47 of the Taliban.
Seen occasionally in Sharpe. The elite Rifles use longer bayonets for their weapons, which must be referred to when deployed as "fix swords!" rather than "fix bayonets!" as for the musket-wielding regulars.
Truth in Television: In the British Army, Rifle regiments to this day use that command, despite their bayonets no longer being any different in length than other units'. They're big on tradition, hence the term "Rifle regiment" still existing despite the fact that it's been centuries since any British Army unit has issued non-rifled weapons.
Though we've never seen the bayonet used in Stargate SG-1 attached to a rifle, the handy thing about modern bayonets is that they work just as well as knives. IMFDB identified the knife Jack O'Neill put through Heru'ur's hand in "Secrets" as an M9 bayonet instead of a KA-BAR knife.
Seen in the Star Trek: Deep Space Nine episode "Blood Oath". Jadzia and the Klingon swordmasters Kor, Kang, and Koloth attack the stronghold of a crime lord who killed the Klingons' firstborn, one of whom was also the godson of the Dax symbiont's previous host. They use technobabble to disable the mooks' energy weapons, and the crime boss orders them to mount bayonets. The defense proves lethal to Kang and Koloth.
In one Paranoia mission, the experimental equipment from R&D includes a bayonet attachment for a cone rifle. This being Paranoia, it breaks the rifle (which was designed to be used as, y'know, a rifle, not withstand being banged around like a sword or club). It's also worth noting that despite the name, a cone rifle is actually closer to a bazooka in size.
The silver bayonet (the "straight silver") is one of the symbols of the Tanith First Imperial Guard regiment. Imperial Guard's standard-issue lasguns are regularly depicted with bayonets fixed in the tabletop though actual gameplay statistics make it rare for the Puny Earthling Guardsmen having to use them actually win against their usually exotically physically-capable alien opponents - the Tanith First in particular frequently fight against other (more or less) bog-standard human beings serving Chaos when the odds of this are much less likely for the Imperial Guard in the tabletop.
Dark Eldar warriors have mono molecular ones at the ends of their splinter rifles.
Available in the BattleTech RPG, appropriately titled Mechwarrior. Bayonets are cheap, commonly available accessories for a gun. Any gun. There is no mounting requirement listed. More notably, they can be carried and used as standard knives and do substantially more damage (9 points maximum) than the basic knife (5 points maximum) in 2nd Edition while weighing the same amount. By-the-rulebook GMs might find themselves with player characters mounting bayonets on any available firearm to justify having the stronger bayonet in a fight.
A rare infantry weapon, the Mauser laser/grenade launcher combo, has a mounted bayonet. Not unusual, except that it has attached rockets, so that it can be fired at the enemy to kill them a little further than normal stabbing would allow. Recover the bayonet, fix it again, and it's ready to continue the slaughter.
Mutant Chronicles features both the "underslung chainsaw"- and knife-on-a-gun variants. The Dark Legion tend not to use them, but their weapons come pre-spikified, so that's okay.
World At War: You could get a bayonet attachment for the bolt-action rifles, the M1 Garand, the M1897 shotgun, and the Type 99. It gave you a much longer melee range, at the expense of a longer melee recovery time.
One oddity about the melee on the shotgun was that it would gib enemies, while other bayonets would not do the same.
Super Smash Bros. Brawl has Wolf, whose blaster has a claw on the end of it that can deal an extra hit in addition to the fired shot.
Imperial monks' rifles are equipped with bayonets in Final Fantasy X though they never use them.
In Parasite Eve 2, one of the numerous attachments you could get for the assault-rifle was... a humble Bayonet. Considering that you could, instead, mount it with a flamethrower, a triple-size magazine, a giant Taser, or Frickin' Laser Beams, you probably won't use it. Ever ... unless you play on 'Nightmare' difficulty, where most of the good weapons and attachments simply aren't there, and ammo is rare. Then that bayonet becomes a lifesaver which will carry you through the later half of the game.
In Halo 2, the reverse-end bayonet on the Brute Shot was the second best weapon at dismembering Flood forms and the second best melee weapon in multiplayer right behind the Energy Sword.
Gears of War: the Lancer has a chainsaw bayonet. The original has a blade, though, but they crammed the chainsaw in when they discovered that the Locust were Made of Iron, and could just shrug off a regular bowie-knife bayonet.
Gears of War 3 features regular bayonets on the older Pendulum war era variant of the Lancer, the Retro Lancer. At first look, the regular bayonet seems perfectly effective at killing Grubs, though that weakness of the bayonet may be considered to be represented by how the bayonet on the Retro Lancer cannot be used unless the player builds up enough momentum from charging for a few seconds - melee attacking with the Retro Lancer will have the player swing with the rifle's back end instead, and running into a target with the Retro Lancer charge's with insufficient momentum will be ineffective.
An early version of Doom includes the rifle's bayonet as the melee weapon. This was later dropped in favor of fists/chainsaw.
In the first-person areas of Banjo-Tooie, Kazooie can eventually learn the Beak Bayonet to perform an ammo-less melee attack. It's only used for one task, but it's useful in the first-person areas in general.
Saika Magoichi of Samurai Warriors has a bayonet on his arquebus. The blades get bigger and bigger as his weapons get better. The way he uses it, it's as much a sword as it is a gun.
In Empire Total War bayonets are a technology that can be researched. First plug bayonets, which can be fixed but prevent firing the weapon, then ring and socket bayonets. Each increase the melee ability of line infantry substantially.
Another technology increases damage for bayonet charges. The description states that the musketeers are simply drilled now to charge with the bayonets held at waist height instead of head height, as one would with a spear. Stopping a cavalry charge, however, requires the use of the square formation, allowing the unit to defend all angles and brace the bayonets.
Despite this, several melee units in the game can be more effective than musketeers, if they can get close without being battered down by volleys, that is. The Indian Gurkhas with their kukri swords can easily cut up a squad of professional musketeers... though that may be because they are Gurkhas.
Haken Browning of Endless Frontier wields the Night Fowl assault rifle with an underslung pile-driver below the rifle's barrel in place a normal bayonet. However, the actual bayonet is a fold-out variant built into the stock of the rifle.
Project Reality features this as one of several melee combat options depending on class and weapon. Because of limitations with the game engine, you have to switch to it like if it is a separate weapon, opposed to being able to use it while still being able to fire your gun.
The Burasta of the Super Robot Wars Z2: Hakai-hen carries the Bayonet Spiker, where its handheld gun emits an energy-variant of a bayonet. Should the player make the Burasta a melee-oriented machine, its ultimate attack works in conjunction with its SPIGOT-VX Attack Drones to create an even bigger bayonet.
The M5A2 Carbine from Resistance 3 has a bayonet as its first upgrade.
Andrew of Samurai Shodown wields a rifle with a large bayonet as his weapon. His fighting style is described as "Bayonet drills handed down through the family lineage for generations", and his moveset largely revolves around the bayonet as his primary weapon rather than the actual gun itself.
Several weapons in Brink feature a bayonet as a possible customization; equipping it improves melee power, but melee strikes will no longer knock enemies down.
Borderlands features handguns with huge blades attached to them that increase melee damage, though the animation is a slash rather than a stab (which is fairly inconvenient, as it doubles the melee animation length for no bonuses). The only other weapons able to provide a melee damage bonus are shotguns, which can have a spike near the grip for gun butt action. Although they don't actually give a melee BONUS, there are a couple rifle models that show bayonets, which spawned the rather memetic cry among fans of "Why does my sniper rifle need a bayonet?!" The answer is "for when those Psychos run right up to you, bloody axe in hand, of course".
In Borderlands 2, any gun can have a blade attached, even rocket launchers! In some cases it doesn't give a bonus, but it always changes the animation — now you can have a sniper rifle with a bayonet and actually use it for melee! And without lengthened animations to boot!
Incubation provided bayonets on Advanced Combat Guns and Standard Assault Rifles, the second and third weapons the player received. Since the blade's damage was great (easily enough to decimate lesser aliens) and ammo was very limited, the fairly weak SAR remained a mainstay through much of the game.
The expansion pack finally introduced another bayoneted weapon, the Light Plasma Gun... which had good damage and unlimited ammo anyway, making it pointless.
As of Mass Effect 3, shotguns can be equipped with bayonets, which increase melee damage and change the sound so it's a little less thwack and a bit more stab. The Graal Spike Thrower, a shotgun designed for hunting giant sand worms, is said to have a spike as an absolute last resort weapon for use while being eaten. Downloadable Gun Accessories include omni-blade bayonets for assault rifles and, later, shotguns (the shotgun ones have a weight penalty).
Dead Rising 2, which uses Macgyvering as a gimmick, gives you the option of creating a shotgun with a pitchfork bayonet.
Red Orchestra allows standard riflemen to attach bayonets to their rifles.
Assassin's Creed III takes place during the American Revolutionary War, where rifles with bayonets are plenty and to spare. What better way to assasinate British soldiers than to stab them with a musket and fire right through?
One of Way of the Samurai 3's DLC weapons is a bayonet affixed to a rifle (specifically, a harquebus), using the stance and moveset of spears already available in the game. The bayonet itself works well; it's the rifle that can't shoot...
Unturned uses a Gun Accessory system and bayonets are a rare option for tactical accessories. While its short-ranged and only moderately powerful, a bayonet can quickly protect you in an emergency without needing to switch weapons.
Red vs. Blue took the Brute Shot from HALO and made it the signature weapon of one of its scariest villains, The Meta.
British Royal Guards typically march around (or stand completely still) with bayonets fixed to their guns.
It's not just for show. The Army are still very keen on their bayonets on the battlefield. There are multiple reports of firefights in Afghanistan ending when some likely lads from a Scottish battalion fix bayonets and charge. Seems the Taliban don't like it up 'em either.
More often than not, whenever British regulars met Americans during The American Revolution, the regulars gave the Americans a thrashing. One obvious reason was that the British Army was a veteran professional force facing a bunch of American farmers who were trying to learn warfare on the fly. A second reason, however, is the bayonet. The regulars had them as standard equipment; the Americans had hardly any. So in a lot of battles, there would be some shooting, the British would fix bayonets and charge, and the American militiamen would run like hell.
Bayonets can be very effective in combat for two psychological reasons: First, soldiers who are prepared to fight with bayonets will often be trained to go into a certain mindset, which is traditionally ingrained into them in Basic Training in some armed forces such as the Russian VDV. Second, and perhaps much more relevant: Having a bunch of guys running at you with improvised spears and screaming for blood is pants-shittingly terrifying.
In 2010 the U.S. Army dropped the bayonet training to meet the demands of "future warfare". However, the U.S. Marine Corps still trains with bayonets. They also insist on higher-quality bayonets than the Army (the blade is slightly longer, and more importantly thicker and sturdier).
The British had bayonets for their Webley revolvers in World War I. Not as an issue item, though; some officers bought them with their own money. Then again, they also bought their own revolvers; in those days it was an officer's responsibility to arm himself.
Before the invention of the bayonet, early gunpowder age infantry would often be split into musketeers and pikemen. The muskets fired too slowly, inaccurately, and with too short a range to reliably defend against cavalry charges, and proved less than adequate in hand to hand fighting. Therefore, it was the pikemen's job to keep the horsemen at bay with a medieval style pike formation, while also serving as a buffer between the gunmen and hand to hand combat. It was obvious to everyone that having the entire formation wield both pikes and muskets would be advantageous, but the weight and bulk of such a load would be impractical. But then somebody (reputedly in the southern French city of Bayonne, hence the weapon's name, but nobody actually knows for sure) realized that like a pike, a musket was a long, relatively straight piece of wood and steel; all you needed to do was attach a blade to the end. The bayonet revolutionized things by turning the musket into a spear, allowing a musketeer to both shoot volleys and stop cavalry, all while not being useless at hand to hand. Due to the early musket's aforementioned disadvantages, bayonet charges also served as a surprisingly effective means charging enemy infantry to cause them to break ranks and retreat, something a single shot gun could hardly be used for. The bayonet started out not as an emergency weapon, but as primary form of armament.
The first bayonets were of the "plug" type: little more than knives with hilt that thins at the bottom, so as to plug it into the barrel. This had the advantage of requiring no modification to the muskets they were used in, and the fact that they couldn't be fired with the bayonet attached was less of a problem than you might think: matchlock and flintlock muskets of that era were so slow to load that in a situation where the bayonet was needed, you probably didn't have time to fire more than one shot. Eventually, these gave way to ring bayonets, which mount around the barrel, thus allowing for the gun to be fired while the bayonet is attached. However, the ring bayonet, like the plug bayonet, depended on a tight fit around the barrel to stay in place, meaning it was sometimes lost when stuck in something. This paved the way for the socket bayonet, which uses an "L"-shaped socket and a lug on the barrel to attach it. This is still the standard way of attaching a bayonet.note Unlike the plug bayonet, the inventor of of the socket type is known to history: Sébastien, Marquis de Vauban introduced them in 1688. Some of these have knife-like blades, while others are simple spikes for thrusting attacks only. The next improvement was the sword bayonet, which effectively turned the rifle into a halberd as it enabled not only thrusting, but slashing as well. It also could be used like a short sword when not attached to the rifle. A sword bayonet could do terrible wounds, and a soldier hit with a sword bayonet, such as the German Schlachtmesser was not likely to survive. The trench warfare of World War I showed that these were too unwieldy for modern combat in close quarters, so they were superseded by the knife bayonet, which has the advantage of being usable not only as a combat knife when detached from the rifle, but also as a utility tool. A few rifles have also been designed with permanently attached folding bayonets. Today, almost every bayonet still in service is of the knife type, though some modern knife bayonets are also socket bayonets, having a socket that can function as a hilt when not attached to a rifle. Modern bayonets also often have a scabbard with tool functions, the most common being a post that when stuck through a hole in the bayonet's blade combines them into a wire cutter.
Most historians believe that it was actually hunters, not the military, who invented the first bayonets. When hunting wild boar, it was considered important to have a spear on hand in case you missed or merely wounded the boar, since unlike most game animals in France they're liable to charge at you rather than try to flee. As with the military, carrying both a musket and a spear was impractical, so hunting knives were modified into the first plug bayonets.
Giuseppe Garibaldi once said "The rifle is no more than the grip of the bayonet."
The Russian Field Marshal AlexanderSuvorov said, to paraphrase, that the bullet is a fool and the bayonet is wise. He never lost a single battle in his entire military career.
That is because smoothbore muskets of the era were wildly inaccurate even at close distances, while bayonets are... well, squick!
Russian tactical doctrine has long placed a high importance on the bayonet. During World War II, you'd never hear a Soviet officer saying the Russian equivalent of "fix bayonets"...because the bayonets were always fixed. The Red Army didn't even issue scabbards for their bayonets, because the place to store them was on the rifle's muzzle, and they were also big fans of the permanently-attached folding bayonet. It was the same for the Imperial Russian Army of World War I. It wasn't until the introduction of assault rifles (in the form of the AK-47) that the bayonet ceased to have a primary role Russian/Soviet doctrine.
Unlike most other weapons, Mosin-Nagant rifle was traditionally zeroed with bayonet fixed. Ditto for the SKS carbine, which actually couldn't be zeroed without one, as it is this aforementioned weapon that has a permanently attached folding bayonet.
Famously used in The American Civil War by the 20th Maine Volunteer Infantry under Joshua Lawrence Chamberlain. During the battle of Gettysburg, Chamberlain's troops were suffering heavy casualties and running out of ammo, and he knew they would be unable to defend their vital position on Little Round Top against the approaching Confederate army. So, in a complete Badass move, he ordered a bayonet charge, which even at the time was considered an old-school textbook maneuver, but which Chamberlain realized could be used as a simultaneous frontal attack and flanking. The Confederates were utterly cowed and the 20th Maine won the day. Chamberlain himself received a Medal of Honor for it.
Though the Medal of Honor back then wasn't just the highest commendation a soldier could receive. It was the only one. Around 800 soldiers received the Medal of Honor for just enlisting in a division.
At the battle of Eylau, has the Russian forces progressed towards his HQ, Napoleon ordered general Dorsenne to stop their advance with the 2nd regiment of foot grenadiers of the Old Guard and the 2nd regiments of Chasseurs. Seeing one of the grenadiers take aim with his rifle, Dorsenne ordered "Grenadiers, l'arme au bras ! La vieille garde ne se bat qu'à la baïonnette." (Grenadiers, weapons at rest! The Old Guard only fights with bayonets). The Russian assault was then routed by the Old Guard.
In the Second Sino-Japanese War and World War II, the army and navy of Imperial Japan not only followed the standard practice of having a bayonet for every rifle, they were also one of the last hold-outs in the use of sword bayonets instead of switching to the knife type (perhaps because their involvement in World War I didn't include trench warfare). Moreover, they took the unusual but not unique step of putting bayonets on their submachine guns, and the entirely unique step of putting bayonets on light machine guns. Needless to say, this could hardly be less practical (an LMG is way too heavy and bulky to effectively thrust like a spear), but it reflected the general obsession with blades and melee combat that resulted from the Japanese ultra-nationalists' attempt to revive samurai culture.
In the latter half of the nineteenth century, almost every army in Europe expected to carry an assault to the enemy with a bayonet charge. Even as tactics were modified (skirmish formations and fire-and-maneuver rushes) when breech-loading rifles were widely issued, it was almost universally accepted that only a bayonet charge could carry the soldiers onto the enemy's defenses. The Boer War, (to a lesser extent) the Russo-Japanese War, and World War I discredited these tactics when they proved less effective against defenders armed with smokeless powder weapons and barbed wire.
The Finnish Army standard assault rifle, RK62, has bayonets specifically designed to double as a knife. They are not usually used at barracks, except guardian duty. Yet the service regulations have chapters for bayonet usage, and command Pistimet - kiinnitä! ("Bayonets - attach!") is considered as that business gets now really serious.
The Swedish Royal Guards stationed in Stockholm and Drottningholm always have their bayonets fixed on duty, and they also point them in halfway in front of them, or otherwise outwards, as if to say 'Sure, come closer - accidents happen all the time'. It's one of the reasons they tend to be bothered by tourists much less than, say, their British counterparts.