Abstract. We develop strong and weak maximum principles for boundary-degenerate elliptic and parabolic linear second-order partial differential operators, Au := − tr(aD 2 u) − b, Du + cu, with partial Dirichlet boundary conditions. The coefficient, a(x), is assumed to vanish along a non-empty open subset, ∂0O, called the degenerate boundary portion, of the boundary, ∂O, of the domain O ⊂ R d , while a(x) is non-zero at any point of the non-degenerate boundary portion,loc (O), is C 1 up to ∂0O and has a strict local maximum at a point in ∂0O, we show that u can be perturbed, by the addition of a suitable function, to a strictly A-subharmonic function v = u + w having a local maximum in the interior of O. Consequently, we obtain strong and weak maximum principles for A-subharmonic functions in C 2 (O) and W
2,dloc (O) which are C 1 up to ∂0O. Points in ∂0O play the same role as those in the interior of the domain, O, and only the non-degenerate boundary portion, ∂1O, is required for boundary comparisons. Moreover, we obtain a comparison principle for a solution and supersolution in W 2,d loc (O) to a unilateral obstacle problem defined by A, again where only the non-degenerate boundary portion, ∂1O, is required for boundary comparisons. Our results extend those in [12,15,19,18], where tr(aD 2 u) is in addition assumed to be continuous up to and vanish along ∂0O in order to yield comparable maximum principles for A-subharmonic functions in C 2 (O), while the results developed here for A-subharmonic functions in W