An Etymological Dictionary of the German Language/Annotated/heimlich

heimlich, adjective, ‘private, secret, comfortable, snug, from Middle High German heim(e)lich, adjective, ‘secret, confidential, concealed,’ also ‘homemade, domestic’; allied to Heim.