Baer rings are rings in which the left (right) annihilator of each subset is generated by an idempotent . Closely related to Baer rings are left P.P.-rings; these are rings in which each principal left ideal is projective, or equivalently, rings in which the left annihilator of each element is generated by an idempotent. Both Baer and P.P.-rings have been extensively studied (e.g. , , , ) and it is known that both of these properties are not stable relative to the formation of polynomial rings . However we will show that if a ring R has no nonzero nilpotent elements then R[X] is a Baer or P.P.-ring if and only if R is a Baer or P.P.-ring. This generalizes a result of S. Jøndrup  who proved stability for commutative P.P.-rings via localizations – a technique which is, of course, not available to us. We also consider the converse to the well-known result that the center of a Baer ring is a Baer ring  and show that if R has no nonzero nilpotent elements, satisfies a polynomial identity and has a Baer ring as center, then R must be a Baer ring. We include examples to illustrate that all the hypotheses are needed.