A medical device for fixation in a femoral bone of a patient is provided, the medical device comprises: a connecting portion adapted to be connected to a prosthetic hip joint contacting portion, an expanding portion, and a bone contacting surface on the expanding portion. The expanding portion could be adapted to be at least partially inserted into the femoral bone of a patient and to expand within the femoral bone, such that the bone contacting surface is placed in contact with the inside of the femoral bone for fixating the medical device to the femoral bone. By the fixation using an expanding portion a sturdy fixation is achieved without the need to go into or penetrate bone, or the need for fixation using bone cement.