Friction forces for a nanowire (NW) elastically bent on flat substrate were investigated both theoretically and experimentally. Models based on elastic beam theory were proposed considering balance of external, frictional, and elastic forces along the NW. The distributed friction force was determined for two cases: (i) the NW was uniformly dragged at its midpoint and bent by kinetic friction forces and (ii) the NW was held in a bent state by static friction forces. The first case considers a uniform distribution of kinetic friction along the NW and enables the measurement of the friction force from the elastically deformed NW profile. The second case exploits the interplay between static friction and elastic forces inside the NW to find the distributed friction force. An original method for the measurement of frictional forces in both cases while maintaining total force and momentum equilibrium was introduced and demonstrated for ZnO NWs on a Si wafer. Averaged kinetic and static friction forces were compared for the same individual NW.