An observer for a system with polynomial nonlinearities is designed. The system is assumed to exhibit a time delay whose value is supposed to be constant and known. The design is carried out using the sum-of-squares method. The key point is defining a suitable Lyapunov-Krasovskii functional. The resulting observer is in form of a polynomial in the observable variables. The results are illustrated by two examples.