It is intended to provide a long-acting solid pharmaceutical preparation which has an immediate release part and a sustained release part containing tramadol or a pharmaceutically acceptable salt thereof, is fast-acting and stably has an excellent release property showing little pH dependency in the initial elution. The invention relates to a long-acting solid pharmaceutical preparation characterized by having an immediate release part and a sustained release part, containing tramadol or a pharmaceutically acceptable salt thereof as an active ingredient in both parts and containing partially pregelatinized starch and an excipient as additives in the immediate release part. The preparation of the invention is a long-acting preparation in which an effective blood concentration is reached rapidly after taking it for rapid pain-relief and a drug action can be sustained for a long time thereafter and is practical as a preparation showing a stable, pH-independent and rapid initial elution behavior and, further, having a sufficient hardness enough to meet the need for avoidance of detrition, cracking, chipping, etc. during tablet coating.