Stools that float are most often due to poor absorption of nutrients (malabsorption) or too much gas (flatulence).
Causes
Many things can cause floating stools. Most of the time, floating stools are due to what you eat. A change in your diet may cause an increase in gas. Increased gas in the stool allows it to float.
Floating stools may also happen if you have a gastrointestinal infection.
Floating, greasy stools that are foul smelling may be due to severe malabsorption, especially if you are losing weight. Malabsorption means your body is not properly absorbing nutrients.
Most floating stools are not caused by an increase in the fat content of the stool. However, in some conditions such as chronic pancreatitis, the fat content is increased.