Provided are a fly attractant composition containing a ligninsulfonate as an active ingredient, and a fly expellant composition containing 5 to 20% by weight of a ligninsulfonate and at least 0.1% by weight but less than 5% by weight of an insecticidal active ingredient.