Modeling the shape of Helicobacter pylori (H. pylori), by using partial differential equation (PDE) is the aim of this article. The development of this technique relied on the use of elliptic PDE and a set of four periodic boundary conditions. The PDE method can create engineering surfaces from a small number of parameters. Also, the shape of the surfaces, which is generated by the PDE method, depends on the representation of a boundary and can be easily changed since it is described by the data distributed around the boundaries. In this study, a PDE-based representation generated from H. pylori was designed using the MATLAB program. The results showed that the PDE method is suitable for representing the shape of Helicobacter pylori bacteria. Besides, the radius and height from Helicobacter pylori are used to obtain four equations. These equations can be used for future prediction in the modeling of Helicobacter pylori. In conclusion, the PDE method can produce smooth parametric surface representations of any particular form of bacteria.The study implies that the PDE method has the potential to create complex engineering surfaces.