Hello and welcome to ‘Ask A Doctor’ service. I have reviewed your query and here is my advice. Foamy urine could be due to excretion of proteins in urine. It can be associated with infection of the kidneys or urinary bladder. Kindly get an ultrasound scan of the abdomen done to know the status of kidney and urinary bladder. Get your urine tested for albumin and microscopy. You can consult Urologist with the report for clinical evaluation and appropriate management. Hope I have answered your query. Let me know if I can assist you further.