Penicillin stability is highest at pH 6, where hydrolysis is minimal.
At extreme pH values, such as acidic or basic conditions, penicillin undergoes decomposition due to β-lactam ring cleavage.
Maintaining optimal pH ensures drug efficacy and shelf-life preservation.