Protein buildup results in foamy urine. Normal urine is free of blood or foam, and it is clear and yellowish. Please be aware that bubbles are not foam. The whitish foam clogs the toilet even after flushing. It's unhealthy if there is foam in your urine. Proteins should be retained in the body by your kidneys after being filtered. Your kidneys are not functioning properly if proteins are excreted in the urine. When this occurs, it may indicate the existence of diabetes, lupus, or indications of a medical illness that affects other body systems.