user16265: All else being equal, if you have forced your opponent to move their king, thus preventing castling, would that be considered an advantage?

user12876: Some Reasons to Castle
Two of the main advantages to castling is it brings the king to a harder square to attack, and it also moves to rook to the inside of the 1 or 8 rank, where it can connect to the other rook (as most pieces are likely developed at the moment) and this rook also can attack the center pieces, such as an uncastled king.
Some Reasons Not to Castle or to Delay It
There are a couple positions where you wouldn't need to castle immediately, such as tempo, defending, and attacking.

Tempo
If your king isn't under any type of stress it may be advantageous to continue developing pieces, seizing the center, or setting up a position to threaten the other player's castled king (I wouldn't attempt attacking the uncastled king, after he does castle you may have many displaced, or overextended pieces).

Defending
The other player may also be attacking pieces, similarly as before looking to have the tempo, such as pinning knights, or attacking center. In some of these cases it may be better to defend pieces, or unpin pieces.

Attacking


Edit: Also noted by user “THB” you may not be immediate threat to castle, but in certain instances you may have the flexibility to decide which way to castle which means delaying can force your opponent to not commit to heavily on positioning pieces to attack a certain side, or castle opposite to the side attacked by the opponent. This also includes the queenside castling rook centralization which could be integral in maintaining tempo and attacking the center.
For attacking there are many opening traps, or blunders on the opponent that you can immediately take advantage of.


user9745: Everyone seem to agree that preventing castling gives an advantage unless the position has few pieces and the king needs to be more active.
But the following video may prove interresting: youtube.com/watch?v=8T3WRf-yOs8 
(Black is upposedly played by fischer, or someone posing as fischer and using a strong engine?)
Black moves many times his king in the first few moves of the game... and wins.
(There are actually several of those in a series of games against the same opponent).
They are indeed quite interresting as the many moves "wasted" (+ the castling) do not prevent this Fischer from winning against a top-of-the-world level of opponent, multiples times... 
It is not at all a proof that castling is not mandatory, but at the very least it makes one wonder if the castling is so important after all...

user9048: Short Answer:
Yes, as you take away an option for them to move the King into a safer position.
Long Answer:
Generally, yes. Castling is a quick way to develop Rooks and move the King into a safer position, and denying this option by forcing the King to move can seriously jeopardize the opponent's King safety and make them stuck in the center.
You can follow this up with an attack and try to open up the center as much as possible, further exploiting this weakness. Thus, preventing the King from castling opens up a very good opportunity for an attack especially in the Middlegame or the Opening.
However, there are some positions where preventing the opponent castling is ineffective. For example, in Endgames where King safety is less of a concern and the back rank is often free for the Rook to develop, preventing castling doesn't do too much. 

In addition, in closed games with tight pawn structures in the center, it's harder to exploit the King in the center by attacking. Although it might be troublesome for opponent to develop Rooks, it's less of an advantage to prevent castling.

All in all, it's usually considered a good advantage in Openings or open Middlegames as it allows for opportunities of attack.

user4149: Still being able to castle can be a life-saver:
1qrkr3/2p1p4/8/b7/1n6/8/4PP2/R3KB2 w Q - 0 1 

Whether white wins in two moves or black wins in a few simple moves in this (contrived) situation (white to move) depends on whether or not 0-0-0 is still allowed. Thus, all else being equal, having prevented castling before the above situation is an advantage. 

user15221: A basic rule (and not just in chess): options are good. Suppose your opponent has the option of castling. If they are in a position where castling is good, they will do so. If they are in a situation where it's bad, they won't (presumably, and you should be wary of planning your strategy around your opponent making mistakes). So unless there's absolutely no chance of your opponent being in a situation where castling is good, taking away their option to castle is an advantage.
All else being equal, you should make the move that gives your opponent fewer options. If you have one move that forces your opponent to take your rook, and another move that gives your opponent the choice between taking your rook or your knight, generally speaking you should make the move that forces them to take the rook (a bullet game might be an exception, if you think it's possible they might not otherwise see the rook option).

user7297: It'll depend on the rest of the position.
If it's relatively open, chances are you can keep the opponent's king in the center and launch an attack. This might well be a decisive advantage; preventing castling on both sides can be much harder than just one side or none at all. It's worth noting that 'artificial' castling (e.g. Ke8-f7, Rh8-e8 and Kf7-g8) takes three moves instead of one, though the rook might end up on a better file than after a regular kingside castling.
If the center is closed and stable, players often don't even castle at all. A king's move to the second row might be enough to connect the heavy pieces. In such a position, being unable to castle is no disadvantage at all.
As @user1583209 notes, in the endgame, the center is usually the place to be for the king, making castling an unattractive option. In general, the fewer pieces on the board, the less of a disadvantage it is not being able to castle.

16265: <p>All else being equal, if you have forced your opponent to move their king, thus preventing castling, would that be considered an advantage?</p>
 12876: <p><strong>Some Reasons to Castle</strong></p>
<p>Two of the main advantages to castling is it brings the king to a harder square to attack, and it also moves to rook to the inside of the 1 or 8 rank, where it can connect to the other rook (as most pieces are likely developed at the moment) and this rook also can attack the center pieces, such as an uncastled king.</p>
<p><strong>Some Reasons Not to Castle or to Delay It</strong></p>
<p>There are a couple positions where you wouldn't need to castle immediately, such as tempo, defending, and attacking.</p>
<ul>
<li><p><em>Tempo</em></p>
<p>If your king isn't under any type of stress it may be advantageous to continue developing pieces, seizing the center, or setting up a position to threaten the other player's castled king (I wouldn't attempt attacking the uncastled king, after he does castle you may have many displaced, or overextended pieces).</p>
</li>
<li><p><em>Defending</em></p>
<p>The other player may also be attacking pieces, similarly as before looking to have the tempo, such as pinning knights, or attacking center. In some of these cases it may be better to defend pieces, or unpin pieces.</p>
</li>
<li><p><em>Attacking</em></p>
</li>
</ul>
<p>Edit: Also noted by user “THB” you may not be immediate threat to castle, but in certain instances you may have the flexibility to decide which way to castle which means delaying can force your opponent to not commit to heavily on positioning pieces to attack a certain side, or castle opposite to the side attacked by the opponent. This also includes the queenside castling rook centralization which could be integral in maintaining tempo and attacking the center.</p>
<p>For attacking there are many opening traps, or blunders on the opponent that you can immediately take advantage of.</p>
<hr />
 9745: <p>Everyone seem to agree that preventing castling gives an advantage unless the position has few pieces and the king needs to be more active.</p>

<p>But the following video may prove interresting: youtube.com/watch?v=8T3WRf-yOs8 </p>

<p>(Black is upposedly played by fischer, or someone posing as fischer and using a strong engine?)</p>

<p>Black moves many times his king in the first few moves of the game... and wins.</p>

<p>(There are actually several of those in a series of games against the same opponent).</p>

<p>They are indeed quite interresting as the many moves "wasted" (+ the castling) do not prevent this Fischer from winning against a top-of-the-world level of opponent, multiples times... </p>

<p>It is not at all a <em>proof</em> that castling is not mandatory, but at the very least it makes one wonder if the castling is so important after all...</p>
 9048: <p><strong>Short Answer:</strong></p>

<p>Yes, as you take away an option for them to move the King into a safer position.</p>

<p><strong>Long Answer:</strong></p>

<p>Generally, yes. Castling is a quick way to develop Rooks and move the King into a safer position, and denying this option by forcing the King to move can seriously jeopardize the opponent's King safety and make them stuck in the center.</p>

<p>You can follow this up with an attack and try to open up the center as much as possible, further exploiting this weakness. Thus, preventing the King from castling opens up a very good opportunity for an attack especially in the Middlegame or the Opening.</p>

<p>However, there are some positions where preventing the opponent castling is ineffective. For example, in Endgames where King safety is less of a concern and the back rank is often free for the Rook to develop, preventing castling doesn't do too much. </p>

<p><a href="https://i.stack.imgur.com/4dmtB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4dmtB.png" alt="As you can see, the King isn&#39;t too bothered by the lack of castling"></a></p>

<p>In addition, in closed games with tight pawn structures in the center, it's harder to exploit the King in the center by attacking. Although it might be troublesome for opponent to develop Rooks, it's less of an advantage to prevent castling.</p>

<p><a href="https://i.stack.imgur.com/3aV39.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3aV39.png" alt="enter image description here"></a></p>

<p>All in all, it's usually considered a good advantage in Openings or open Middlegames as it allows for opportunities of attack.</p>
 4149: <p>Still being able to castle can be a life-saver:</p>

<pre><code>1qrkr3/2p1p4/8/b7/1n6/8/4PP2/R3KB2 w Q - 0 1 
</code></pre>

<p>Whether white wins in two moves or black wins in a few simple moves in this (contrived) situation (white to move) depends on whether or not 0-0-0 is still allowed. Thus, <strong>all else being equal</strong>, having prevented castling before the above situation is an advantage. </p>
 15221: <p>A basic rule (and not just in chess): options are good. Suppose your opponent has the option of castling. If they are in a position where castling is good, they will do so. If they are in a situation where it's bad, they won't (presumably, and you should be wary of planning your strategy around your opponent making mistakes). So unless there's absolutely no chance of your opponent being in a situation where castling is good, taking away their option to castle is an advantage.</p>

<p>All else being equal, you should make the move that gives your opponent fewer options. If you have one move that forces your opponent to take your rook, and another move that gives your opponent the choice between taking your rook or your knight, generally speaking you should make the move that forces them to take the rook (a bullet game <em>might</em> be an exception, if you think it's possible they might not otherwise see the rook option).</p>
 7297: <p>It'll depend on the rest of the position.</p>

<p>If it's relatively open, chances are you can keep the opponent's king in the center and launch an attack. This might well be a <em>decisive</em> advantage; preventing castling on <em>both</em> sides can be much harder than just one side or none at all. It's worth noting that 'artificial' castling (e.g. Ke8-f7, Rh8-e8 and Kf7-g8) takes three moves instead of one, though the rook might end up on a better file than after a regular kingside castling.</p>

<p>If the center is closed and stable, players often don't even castle at all. A king's move to the second row might be enough to connect the heavy pieces. In such a position, being unable to castle is no disadvantage at all.</p>

<p>As @user1583209 notes, in the endgame, the center is usually the place to be for the king, making castling an unattractive option. In general, the fewer pieces on the board, the less of a disadvantage it is not being able to castle.</p>
