The Medieval II: Total War Database

Medieval 2: Total War Cheats

The all-in-one database of Medieval 2: Total War cheats. Includes a complete list of all commands, popular cheats reference table and helpful guides.

Medieval II: Total War

How to Use M2TW Cheats

  1. 1

    Press ~ on your keyboard to open the console. If that doesn't work, try ' or ` .

  2. 2

    Type in a cheat and hit ENTER to send it.

More Help

All cheat codes in on this page are from the latest version of Medieval II (including Kingdoms) on Steam (PC / Mac).

On the complete list, you can switch between different layouts by pressing the "Discover", "Table" and "Card" buttons. Click on a command's name to visit its documentation page, on which you can find working examples and more detailed help for that specific command.

Best M2TW Cheats

Cheat Description

Gives you the specified amount of money.

Add a faction name followed by a comma to add money to another faction (e.g. add_money France, 100 ).


Gives a character the specified trait.


Removes a trait from the specified character.


Spawns the specified unit.


Adds an ancillary to a character.


Removes an ancillary from the specified character.


Switch the faction you are playing as to the specified faction.


Surrenders all regions of the specified faction to the rebels.

Medieval 2: Total War Cheats List

Command Description Syntax

This command will add the specified amount of population to the settlement with the specified name. You can specify a negative amount to remove population from a settlement.

add_population < Settlement Name < Amount >

This command will give you the specified amount of money. You can optionally specify a faction type before the amount to give money to that faction (instead of yourself). To remove money, specify a negative amount.

add_money < Faction Name, < Amount >

This command gives the ancillary with the specified ID to the character with the specified name. If the character name has a space in it, put it in quotation marks (e.g. "name").

give_ancillary < Character Name < Ancillary ID >

This command removes the ancillary with the specified ID from the character with the specified name. If the name of the character you wish to remove the ancillary from has a space in it, put it in quotation marks (e.g. "name").

remove_ancillary < Character Name < Ancillary ID >

This command gives the character with the specified name the trait with the specified ID. You can optionally specify a level for the trait to be. By default the trait level will be 1.

give_trait < Character Name < Trait ID < Level >

This command will remove all traits, or a specified trait, from the character with the specified name.

remove_trait < Character Name < Trait ID >

This command changes the way the map terrain is displayed/highlighted in the game. See argument information for the terrain types.

toggle_terrain < Terrain Display ID >

This command enables and disables (toggles) Fog of War.


This command will create a unit within the specified settlement or for the specified character. The unit is specified by its unit ID. You can optionally specify an amount (default is 1) and the experience, armor and weapon level of the created unit(s).

create_unit < Settlement / Character Name < Unit ID < Amount < Experience < Armor < Weapon >

This command will instantly complete all pending construction work for the settlement with the specified name.

process_cq < Settlement Name >

This command will switch the faction you are playing as to the specified faction. Note that AI will take control of the faction you were playing as before.

control < Faction Name >

This command will show statistics about the location your cursor is over. Information includes the coordinates of the location, the name of the location, and the region ID.


This command resets your character back to the settings he/she had at the start of your current turn.


This command moves the character with the specified name to the specified coordinates. Find coorindates wil the showcursorstat command.

move_character < Character Name < X < Y >

This command surrenders all regions belonging to the specified faction to the rebels.

surrender_regions < Faction Name >

This command will make the specified team (attacker or defender) automatically win the next auto resolved battle. To win your battle, when on the battle scroll, use this command (adjust based on whether you are attacker or defender), and then use auto resolve.

auto_win < Attacker / Defender >

This enables and disables (toggles) the "best buy" cheat, which makes units 10% cheaper. Note that sometimes this command does not turn off and you will need to open and close your game to disable it.


This command enables the developer console on a server, given that the provided password is correct.

logon < Password >

This command logs you out from developer console access on a server. You can re-enable it with the logon command.


This command clears the password for the faction with the specified name (server-only).

clear_password < Faction Name >

This command sets the password for faction with the specified name (server-only). You need to provide the password twice to confirm it was typed correctly.

set_password < Faction Name < Password < Password >

This command sets the email address for the specified faction (server-only).

set_email < Faction Name < Email Address >

This command disables all AI, or the specified AI type.

disable_ai < AI Type >

This command halts the turn sequence at the start of the turn of the faction with the specified name. If you do not specify a faction name, the turn sequence will be halted at end of the current turn.

halt_ai < Faction Name >

This command re-enables the AI after you have previously disabled it with the disableai or haltai commands. Use the 'x' argument to re-enable all types of AI (if you have disabled them individually using the disableai command).

run_ai < x >

This command sets the value of the specified option to the specified value. Use 0 and 1 to represent false and true (respectively) if the option is a boolean.

set_option < Option Name < Value >

This command enables and disables (toggles) game applying traits and attributes. By default they are enabled.


Full Guide: How to Open and Use the Medieval II Console

Cheat codes are a great way to spice up Medieval 2: Total War gameplay - they can do all sorts of things like add cash to your empire, add units to armies, and even make you automatically win or lose wars.

Cheat codes, also known as commands, are entered into the game's console, the console is simply a text box (pictured below). To open the console, press the ~ (tilde) key on your keyboard. For some non-US keyboard layouts, this hot key may not work, if this is the case, pressing one of the following keys will open the console for you:

  • ~ (tilde)
  • ` (grave)
  • ' (single quote / apostrophe)
  • ö

You can close the console by pressing the same key again. Here's what the console looks like opened:

The Medieval 2: Total War console, opened

Once you've got opening the console out of the way, all you need to do is type in a console command and hit ENTER to send it.

You can find a list of all commands on our cheats list above but as an example, we'll show you how to use the add_population command, which adds population to a settlement of your choice.

The command has the following syntax (syntax means how the command is written):

add_population [Settlement Name] [Amount]

To get this command to work, you need to do two things:

  • Replace [Settlement Name] with the name of the settlement you wish to add population to - e.g. Nottingham
  • Replace [Amount] with the amount of population you wish to add - e.g. 100 add_population Nottingham 100

As you might have guessed, typing the above text into the console and hitting ENTER on your keyboard would add 100 population to the Nottingham settlement.

That's all there is to this guide, you may also be interested in checking out our list of all Medieval 2 cheats. If you need help or clarification on anything mentioned in this tutorial, feel free to tweet at us @ConsoleCMDs.

Medieval 2: Total War Money Cheat

They say money makes the world go round, and we say that the Medieval 2 world is no different. Well, perhaps there's one difference.. you can use cheats to give yourself money in Medieval 2: Total War!

You'll need to know how to open the console to use cheats. The console is enabled by default and can be opened by pressing the ~ (tilde) key. If that doesn't work, try ' (apostrophe), ` (grave), or ö . To run a cheat code (also known as a command), type it into the console and hit ENTER .

The cheat code to add money in Medieval II is (unsurprisingly) add_money . So, to give yourself money, all you need to do is type add_money into the console and add an amount after that. Using the following command would give you 100 cash:

add_money 100

Changing the 100 in that command to 7000, would (as you might've guessed) give you 7000 more money. The command would look like this:

add_money 7000

You can also add money to other Factions by specifying their name, followed by a comma, before the amount. To add 400 to the Spain Faction, you'd use this command:

add_money spain, 400

If Spain isn't in your good books, you can also use the add_money command to remove money from a faction (or your own faction) - this is done by specifying a negative amount, instead of a positive one. To remove 1000 money from Spain, you'd use this cheat code:

add_money spain, -1000

To remove money from your own faction, you can just specify a negative number without your own faction's name before. For example, this cheat would remove 350 money from you:

add_money -350

That's all there is this guide. You can find more commands to use with the Medieval 2 console on our M2TW cheats page.