I've lost a word. Not senility, I remember that one .

Would someone very kindly remind me of the word for the belief that only oneself exists and that all else is the product of ones own mind. I've been trying to find it for two days without success and it's irritating .

Thanks.