Controlled-release formulations of carboxy-terminal C5a analogs (such as sustained-release formulations of the analogs), and their use in methods for treating and preventing an infection or a disease such as cancer, for directly killing microorganisms, for vaccine preparation, for inducing an immune response and for targeting antigen-presenting cells and other cells bearing a C5a receptor, are provided.