Eukaryotic-like serine/threonine kinases (eSTKs) with extracellular PASTA repeats are key membrane regulators of bacterial cell division. How PASTA repeats govern eSTK activation and function remains elusive. Using evolution- and structural-guided approaches combined with cell imaging, we disentangle the role of each PASTA repeat of the eSTK StkP from Streptococcus pneumoniae. While the three membrane-proximal PASTA repeats behave as interchangeable modules required for the activation of StkP independently of cell wall binding, they also control the septal cell wall thickness. In contrast, the fourth and membrane-distal PASTA repeat directs StkP localization at the division septum and encompasses a specific motif that is critical for final cell separation through interaction with the cell wall hydrolase LytB. We propose a model in which the extracellular four-PASTA domain of StkP plays a dual function in interconnecting the phosphorylation of StkP endogenous targets along with septal cell wall remodelling to allow cell division of the pneumococcus.