The 'mi' in 'mikuji' is an honorific prefix and is written with different characters for example the honorific 'mi' and 'kuji', or in the case of a shrine the characters for 'kami' (God) and 'kuji' (lot) or in the case of a temple the characters for 'Buddha' and 'kuji' (lot).
「みくじ」は「くじ」に尊敬語の接頭辞「み」をくわえたもので、漢字で書くときは「御籤」とするか、神社のものは「神籤」、寺のものは「仏籤」とする。