The present invention relates to a thiophene derivative represented by general formula (I) (wherein each symbol is as defined in the description) or a salt thereof, which has an activity to prevent the production of TNF-a and an activity to prevent the proliferation of a hematological cancer cell, and is useful for the treatment of rheumatoid arthritis, Crohn's disease, ulcerative colitis and hematological cancer.