An outdoor unit for an air-conditioning apparatus, the outdoor unit comprising: a casing including a front panel and a top panel, the front panel having an opening; and a fan guard made up of a combination of a plurality of vertical bars and a plurality of horizontal bars, the fan guard covering the opening, wherein the fan guard includes an upper anchoring portion (51b2) formed at an upper end of one of the vertical bars, located at a center in a right and left direction of the casing, or each of upper ends of at least two of the vertical bars, located apart from each other in a right and left direction of the casing, and a lower anchoring portion (51b5) formed at a lower end of a plurality of the vertical bars, located apart from each other in the right and left direction of the casing, the upper anchoring portion (51b2) is formed such that the upper end is bent toward the casing and further bent upward, the lower anchoring portion (51b5) is formed such that the lower end is bent toward the casing, a distal end of a lower anchoring distal end portion (51b4) that is a distal end-side portion of the lower anchoring portion (51b5) is bent so as to be oriented downward, the front panel includes an upper temporary fixing groove (1b, 11b) in which the upper anchoring portion (51b2) is inserted and that restricts movement of the upper anchoring portion (51b2) in the right and left direction, and a lower temporary fixing hole in which the lower anchoring portion (51b5) is inserted and that restricts movement of the lower anchoring portion (51b5) in a forward direction and in a downward direction, and the upper temporary fixing groove (1b, 11b) and the upper anchoring portion (51b2) are covered with the top panel. a casing including a front panel and a top panel, the front panel having an opening; and a fan guard made up of a combination of a plurality of vertical bars and a plurality of horizontal bars, the fan guard covering the opening, wherein the fan guard includes an upper anchoring portion (51b2) formed at an upper end of one of the vertical bars, located at a center in a right and left direction of the casing, or each of upper ends of at least two of the vertical bars, located apart from each other in a right and left direction of the casing, and a lower anchoring portion (51b5) formed at a lower end of a plurality of the vertical bars, located apart from each other in the right and left direction of the casing, an upper anchoring portion (51b2) formed at an upper end of one of the vertical bars, located at a center in a right and left direction of the casing, or each of upper ends of at least two of the vertical bars, located apart from each other in a right and left direction of the casing, and a lower anchoring portion (51b5) formed at a lower end of a plurality of the vertical bars, located apart from each other in the right and left direction of the casing, the upper anchoring portion (51b2) is formed such that the upper end is bent toward the casing and further bent upward, the lower anchoring portion (51b5) is formed such that the lower end is bent toward the casing, a distal end of a lower anchoring distal end portion (51b4) that is a distal end-side portion of the lower anchoring portion (51b5) is bent so as to be oriented downward, the front panel includes an upper temporary fixing groove (1b, 11b) in which the upper anchoring portion (51b2) is inserted and that restricts movement of the upper anchoring portion (51b2) in the right and left direction, and a lower temporary fixing hole in which the lower anchoring portion (51b5) is inserted and that restricts movement of the lower anchoring portion (51b5) in a forward direction and in a downward direction, and an upper temporary fixing groove (1b, 11b) in which the upper anchoring portion (51b2) is inserted and that restricts movement of the upper anchoring portion (51b2) in the right and left direction, and a lower temporary fixing hole in which the lower anchoring portion (51b5) is inserted and that restricts movement of the lower anchoring portion (51b5) in a forward direction and in a downward direction, and the upper temporary fixing groove (1b, 11b) and the upper anchoring portion (51b2) are covered with the top panel.